![]() |
|
#5
|
||||
|
||||
|
If the aim is to allow the user to edit only part of the document, e.g. in your sample to add the name and address, you don't need a macro. You can use content content controls to accept the user input and add editors to the controls before protecting as read only and then the user can only edit the content control contents. See attached (the password is the same as your sample).
The easiest way to do this is to use Insert Content Control Add-In which includes the options to add editors and protect the document. It can be done without, but it is more fiddly to do so.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Autorun macro when opening the file | Tom cheeseburger | PowerPoint | 2 | 07-07-2021 05:42 PM |
How to automatically enable the macros upon opening a file with macros?
|
laurieli | Office | 7 | 01-17-2016 08:56 AM |
| How to automatically enable macros upon opening the Word? | laurieli | Word VBA | 2 | 12-22-2015 02:46 PM |
Automatically make .dotm file available to all users on network
|
donaldadams1951 | Word | 2 | 02-26-2014 10:47 PM |
Prompt a macro to run when opening a specific file type
|
gmanword | Word VBA | 5 | 11-30-2013 02:55 PM |