Invalid Interval of a Word.Range

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ghaleon
    New Member
    • Aug 2013
    • 28

    Invalid Interval of a Word.Range

    HI Guys, I have this line:

    Code:
    Dim Range   As Word.Range
    Set Range = Word_Doc.Range(Start:=Word_Doc.Bookmarks("StartText").Range.Start, End:=Word_Doc.Bookmarks("Table").Range.End)

    It's working fine on my Virtual Machine with WindowsXP + Office 2007
    Also working on my computer with Windows 8 + Office 2013.

    But When I tried to run this application on a customer's pc with Windows7 Office 2007

    It says something like: Invalid Interval Value

    Why it doesn't work ? What could I do ?
    how to set the range to the whole document?
  • hosting charges
    New Member
    • Aug 2013
    • 10

    #2
    Which version of VB compiler are you using?

    Comment

    • Ghaleon
      New Member
      • Aug 2013
      • 28

      #3
      I'm using VisualBasic Version 6

      Comment

      Working...