Reply
 
Thread Tools Display Modes
  #1   Report Post  
Merridas Merridas is offline
Junior Member
 
Posts: 2
Default Link to Previous vs Protected View

I have written a macro that creates a new section with new page and in that page it goes to the header and turns off "Link to Previous" (by default is "on") option and makes changes to the header in the new section. Works perfectly.

However I have a specially formated table on first page that has to be filled by other but not changed in any way. I employed to protect it from formatting a Protected View. This also works perfectly.

The problem I have is that when I turn on "Protected View" the option "Link to Previous" turns grey (not clickable) which means my macro crashes.

Any thoughts how to solve my problem?
- maybe a way to change default "Link to Previous" to "off" or
- a way to enable "Link to previous" checking/unchecking while in "Protected View" or
- some other option.

Thanks in advance.
  #2   Report Post  
Merridas Merridas is offline
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by Charles K. Kenyon View Post
You could, in your macro, turn off the protection, unlink, and then re-protect.

However, that may be overkill. I suspect that the StyleRef field may get you the result you want without adding a section break or changing the header/footer. http://www.addbalance.com/usersguide...s.htm#STYLEREF

You could, also, only protect the portion with your table and leave other parts unprotected.
Option 3 is already used that's why I have a problem with gray'd unlink option. However Option 1 is helpful (Don't know why I didn't thought about it myself) but poses new threat ... password in macro easily to be found. I need to hide it somehow.
Option 2 to be researched if option 1 fails.

Thanks for ideas.
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
Link to Previous Pwal Microsoft Word Help 2 January 23rd 10 09:09 AM
Link to Previous Pwal Microsoft Word Help 0 January 23rd 10 08:40 AM
heading won't link to previous Sharon Microsoft Word Help 1 March 12th 08 09:45 PM
link to previous disabled Lord of Gore Microsoft Word Help 1 January 22nd 07 08:43 PM
Link to previous - help Bob Microsoft Word Help 3 November 4th 05 12:19 AM


All times are GMT +1. The time now is 12:34 AM.

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

About Us

"It's about Microsoft Word"