TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Does anyone know of a WordBasic equivalent for the EnforceStyleLock VBA
property?
This is for a macro that works in Word 2003, but not in earlier versions.
BACKGROUND:
Basically documents use two levels of restrictions. One is used to activate
form fields in a locked section; the other to force use of styles rather
than local formatting throughout the document.
When both are used, the form field protection adds unwanted limitation to
the rest of the document.
The workaround is to use two macros. The ActivateForms macro locks the
document with both restriction levels. The LimitedRestrictions macro unlocks
the document, then relocks it with only the EnforceStyleLock protection (no
FormsOnly protection).
This works for people working with Word 2003, but doesn't relock for people
working with earlier versions of Word (the EnforceStyleLock property is not
recognized).
The EnforceStyleLock mechanism appears to work with earlier versions of Word
if the document is locked when they open it. However, it cannot be reapplied
after it gets unlocked.
Please respond (or CC) directly as well as to the list.
- Svi Ben-Elya -
Documentation Manager
svib -at- flashnetworks -dot- com
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************
New from Quadralay Corporation: WebWorks ePublisher Pro! Easily create
14 online formats, including 6 Help systems, in a project-based
workflow. Live, online demo! http://www.webworks.com/techwr-l
Doc-To-Help 2005 now has RoboHelp Converter and HTML Source: Author
content and configure Help in MS Word or any HTML editor. No
proprietary editor! *August release. http://www.componentone.com/TECHWRL/DocToHelp2005
---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- techwr-l -dot- com
Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit http://www.techwr-l.com/techwhirl/ for more resources and info.