WD98: How to Protect VBA Code from Unauthorized Access (181183)
The information in this article applies to:
- Microsoft Word 98 Macintosh Edition
This article was previously published under Q181183 SUMMARY
In earlier versions of Word, you can use the WordBasic MacroCopy statement
to convert an editable macro to an execute-only macro. You cannot edit or
view an execute-only macro.
The execute-only option is used with earlier versions of Word that use
WordBasic as their programming language and is used to protect macros from
being modified. This execute-only feature is no longer available in Word 98
and later versions. Instead, you can use the Microsoft Visual Basic for
Applications Lock Project property to protect your code from unauthorized
changes or to prevent others from viewing the code.
REFERENCES
For more information about how to change a macro to execute-only status in
earlier versions of Word, please see the following article in the Microsoft
Knowledge Base:
79024
WinWord: Changing a Macro to Execute-Only Status
For more information about getting help with Visual Basic for Applications,
please see the following article in the Microsoft Knowledge Base:
163435
VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbinfo kbProgramming KB181183 |
---|
|