Open word to a specific page

  • Thread starter Thread starter bhoff
  • Start date Start date
B

bhoff

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.office.interop.word.application = new
microsoft.office.interop.word.application
Dim wdDoc as microsoft.office.interop.word.document

wdDoc = wd.documents.open(FileName)

wdDoc.goto(13)

All this does is open the document, but doesn't scroll down to page
13...any Ideas?

Thanks
 
Back
Top