Reply
 
Thread Tools Display Modes
  #1   Report Post  
Larry
 
Posts: n/a
Default preventing document from closing when clicking on hyperlink

I posted this December 16 but I don't see it on the list, so here goes
again.

In Word 97, how can I prevent a document (if it has no unsaved changes
in it) from closing when I click on a hyperlink to another document?

Thanks
Larry


  #2   Report Post  
Beth Melton
 
Posts: n/a
Default

Here's the response I posted:
http://groups-beta.google.com/group/...d6b07116e6bf60

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/


"Larry" wrote in message
...
I posted this December 16 but I don't see it on the list, so here
goes
again.

In Word 97, how can I prevent a document (if it has no unsaved
changes
in it) from closing when I click on a hyperlink to another document?

Thanks
Larry




  #3   Report Post  
Larry
 
Posts: n/a
Default



Thanks a lot, Beth. I just looked for that today and couldn't find it.
I copied here what you wrote. It looks like there's no automatic way to
do this. If I have a document with 40 or 50 hyperlinks, I'd have to do
this manually with each one.

But even if I'm trying to change just a couple of links, I don't follow
the instructions, namely these three steps:

- Copy the Hyperlink field
- Insert the file path into the Hyperlink field
- Paste the Hyperlink field and insert the next file path, etc.

I copy the field, then I insert (manually) a path into it, and then I
paste the field?

Thanks,
Larry



You can use the /n switch to prevent the document from closing but in
Word 97 the only way I have found for this to work correctly is to
insert the hyperlinks using Insert/Field and add the switch there. If
I just add the \n to the existing hyperlink field then the document
will close after clicking the link.

If there are a lot of hyperlinks that need to be corrected then here's
the steps I've used in the past:

- Go to Insert/Field and select the Hyperlink field
- Add only the /n switch to the Hyperlink field and insert it into the
document (it will display as an error).
- Use Alt + F9 to toggle the field codes
- Copy the Hyperlink field
- Insert the file path into the Hyperlink field
- Paste the Hyperlink field and insert the next file path, etc.
- Press Alt + F9 to toggle off the display of field codes
- Press Ctrl + A to select the entire document
- Press F9 to update all of the Hyperlink fields

Otherwise if the document is dirty then it will not close when you
click a hyperlink.

FWIW versions after Word 97 do not exhibit the same behavior - they
modified it due to user feedback.





Beth Melton wrote:
Here's the response I posted:

http://groups-beta.google.com/group/...docmanagement/
browse_frm/thread/2a58b12407b015a7/85d6b07116e6bf60


"Larry" wrote in message
...
I posted this December 16 but I don't see it on the list, so here
goes
again.

In Word 97, how can I prevent a document (if it has no unsaved
changes
in it) from closing when I click on a hyperlink to another document?

Thanks
LarryT



  #4   Report Post  
Beth Melton
 
Posts: n/a
Default

I couldn't find an automatic way when I encountered this issue. I was
thrilled to come up with something since everything I tried wouldn't
work. You can try editing the hyperlink fields and adding the /n
switch manually but I never had any success in all my attempts.

What I meant by copying the Hyperlink field is to speed up the
process, so you don't need to keep using Insert/Field, you can insert
a Hyperlink field with the /n switch and leave the "filename" argument
empty. Then copy the empty hyperlink field and paste it for the
hyperlink fields you need to replace in the document. If you display
the field codes then you can copy/paste the "filename" argument for
the incorrect field into the good one.

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/


"Larry" wrote in message
...


Thanks a lot, Beth. I just looked for that today and couldn't find
it.
I copied here what you wrote. It looks like there's no automatic
way to
do this. If I have a document with 40 or 50 hyperlinks, I'd have to
do
this manually with each one.

But even if I'm trying to change just a couple of links, I don't
follow
the instructions, namely these three steps:

- Copy the Hyperlink field
- Insert the file path into the Hyperlink field
- Paste the Hyperlink field and insert the next file path, etc.

I copy the field, then I insert (manually) a path into it, and then
I
paste the field?

Thanks,
Larry



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
document closes when I click on hyperlink to another document Larry Microsoft Word Help 1 December 17th 04 04:31 PM
Inserting a hyperlink - Place in this document rhewell Microsoft Word Help 3 December 14th 04 03:49 AM
Hyperlink in a word document JR Microsoft Word Help 2 December 9th 04 08:37 PM
How do I reference outline numbers in a document from a hyperlink. Mark A Microsoft Word Help 1 December 5th 04 01:59 AM
Can I hyperlink to a specific page in a different word document? Alison Microsoft Word Help 1 December 1st 04 11:11 AM


All times are GMT +1. The time now is 02:18 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"