If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
macro won't fire
I have a macro that re-protects a document. When I add
the macro to a form field to "run macro on entry", the macro does not fire. can anyone tell me what I'm failing to do? sub prot() activedocument.protect type:=wdAllowOnlyFormFields, noreset:=true password:="bingo" end sub |
#2
|
|||
|
|||
macro won't fire
The document would have to be protected in the first instance for the macro
to run on entry to the formfield. Formfields don't act as formfields UNTIL the document is protected. -- Please post any further questions or followup to the newsgroups for the benefit of others who may be interested. Unsolicited questions forwarded directly to me will only be answered on a paid consulting basis. Hope this helps Doug Robbins - Word MVP "Dick" wrote in message ... I have a macro that re-protects a document. When I add the macro to a form field to "run macro on entry", the macro does not fire. can anyone tell me what I'm failing to do? sub prot() activedocument.protect type:=wdAllowOnlyFormFields, noreset:=true password:="bingo" end sub |
Thread Tools | |
Display Modes | |
|
|