I have a program where a user can click on a LinkLabel to open a word
document to view a reference. I can't figure out how to make word jump
to a specified page though, example:
A reference to test.doc, page 13 is where the user needs to find a
reference from
Dim wd as new microsoft.offic e.interop.word. application = new
microsoft.offic e.interop.word. application
Dim wdDoc as microsoft.offic e.interop.word. document
wdDoc = wd.documents.op en(FileName)
wdDoc.goto(13)
All this does is open the document, but doesn't scroll down to page
13...any Ideas?
Thanks
document to view a reference. I can't figure out how to make word jump
to a specified page though, example:
A reference to test.doc, page 13 is where the user needs to find a
reference from
Dim wd as new microsoft.offic e.interop.word. application = new
microsoft.offic e.interop.word. application
Dim wdDoc as microsoft.offic e.interop.word. document
wdDoc = wd.documents.op en(FileName)
wdDoc.goto(13)
All this does is open the document, but doesn't scroll down to page
13...any Ideas?
Thanks
Comment