Expand|Select|Wrap|Line Numbers
- 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?