Linking to specific Word document page from Visio

C

CraigJones

I am trying to hyperlink to a specific page on a Word document, from an
object using Visio Standard 2003.

The Visio drawing is then to be converted to HTML.

The Word document resides on a network drive. I can successfully link to
the whole document, but can’t to a specific page. I have tried various
additions to the hyperlink in the address field
(networkdrive\Document\Docname.doc#page=3,
networkdrive\Document\Docname.doc#page3,
networkdrive\Document\Docname.doc#page-3 etc) but none go to the specific
page.

Does anyone have any tips?
 
P

Philippe C.

Doesn't it work with a bookmark or an anchor if you were to save the Word
document as HTML ?
In the last case, there is an example on this forum.
 
C

CraigJones

The document (which is a business document), will either be a Word 2003 doc
or a PDF.
 
P

Philippe C.

I did it with a bookmark and it works.

networkdrive\Document\Docname.doc#page3

but instead of page3, the name of the bookmark.

I made a hyperlink in Word to a bookmark in it, saved it in HTML and saw
that # was indeed used.

Then I selected a shape in Visio, Insert Hyperlink, Address Brows, and added
#bm1 in the same textbox (after scrolling to the right in it).


Right click the hyperlink in Visio to follow it.

Tell us if it works in PDF also.
 
P

Philippe C.

If you have a look in Word at Insert Hyperlink ..,
you will see that it is also possible to link to headers. But not to pages.

Word does not seem to like bo be linked to pages. Because of repagination ?
Nice exercise to look this up in the Word Knowledge base.

I haven't tried it but you might prefer to link to headers instead of
bookmarks you would have to make.
"#" becomes "_#" for headers, I think.
 
P

Philippe C.

I cannot make it work with the headers.

Philippe C. said:
If you have a look in Word at Insert Hyperlink ..,
you will see that it is also possible to link to headers. But not to pages.

Word does not seem to like bo be linked to pages. Because of repagination ?
Nice exercise to look this up in the Word Knowledge base.

I haven't tried it but you might prefer to link to headers instead of
bookmarks you would have to make.
"#" becomes "_#" for headers, I think.
 
P

Paddy

Philippe said:
Sorry, I can make it work.
It is #_ and not the reverse.

Could you attach (or upload and give link) a simple Visio and Word example
of your successful effort? Your series of posts are a bit cryptic for the
less-adept among us. :)

Paddy
 
P

Philippe C.

The adress cell in the Hyperlink section in the shapesheet would be
="C:\Documents and Settings\......\Desktop\bookmark.doc#_hoofding"


in which "hoofding" is the text of the header.
 
L

levu

Thank-you. Your posting was helpful. I was able to link from a visio shape
to a bookmark in words document.
However, when I <click> to go to the link, it only work the first time (i.e.
if the document is not open, it will open it and then put the cursor to the
right book mark and high-lighted it). But, once the word document is already
open, subsequent <click> to the link doesn't even bring up (make Word active)
the Word document or high-light the cursor to the correct bookmark.
Would you know what should i do to correct this problem?
 
P

Philippe C.

I had a look in the help from the Shapesheet row. It cannot be done there.

From my programming days, I rememeber if ..Createobject else getObject. modal
Maybe this can be done in an action row.
I'd say : ask the question in the Developer forum.
 
P

Philippe C.

Unless, in the ExtraInfo cell.

Represents a string that passes information to be used in resolving a URL,
such as the coordinates of an image map. For example, in the ExtraInfo cell,
"x=41&y=7" specifies the coordinates of an image map.

So, if someone can tell us the parameters for invoking Word.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top