![]() |
#1
|
|||
|
|||
![]()
I created a template with a text field and a form field. I created a macro so the user could hide and unhide the data in the form field however when I restrict editing the macro disappears and says "the requested member of the collection does not exist. Below is the VB. I am also saving as a macro enables template.
Sub MYMACRO() ActiveDocument.Bookmarks("TextToShow").Range.Font. Hidden = Not ActiveDocument.Bookmarks("TextToShow").Range.Font. Hidden End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Phrixos | Office | 8 | 02-10-2025 03:59 AM |
Using Building Block Gallery Content function on a form with restricted editing | wes228 | Word VBA | 1 | 08-28-2014 08:14 AM |
Specifying a user in restricted editing | Ulodesk | Word | 2 | 05-24-2014 12:09 PM |
![]() |
Invicta | Word | 3 | 11-08-2012 06:05 AM |
![]() |
dani | Word | 1 | 11-08-2012 01:09 AM |