Z
Zamdrist
I have a VBA procedure in a module which I want to run on the Exit of a
Form Field.
The procedure name appears in the list of selectable procedures when I
design the template, and it runs just fine as a template.
However when I create a new document based on the template the
procedure doesn't run, and in fact when you unlock the form field,
there is no procedure defined in the Exit portion of the form field.
This is really odd, because I have other templates I run in the same
manner, and no issues!
I made sure that the procedure is a Public Sub, so that cannot be the
issue as I can see, that would be the most obvious, first problem. Also
I tried placing the procedure in the Class Module: ThisDocument, but
the results are the same...no procedure, nothing.
I'm really confuzzled over this one. I've done this same type of thing
before, plenty of times :-S
Any thoughts would be greatly appreciated. Thanks.
Steve
Form Field.
The procedure name appears in the list of selectable procedures when I
design the template, and it runs just fine as a template.
However when I create a new document based on the template the
procedure doesn't run, and in fact when you unlock the form field,
there is no procedure defined in the Exit portion of the form field.
This is really odd, because I have other templates I run in the same
manner, and no issues!
I made sure that the procedure is a Public Sub, so that cannot be the
issue as I can see, that would be the most obvious, first problem. Also
I tried placing the procedure in the Class Module: ThisDocument, but
the results are the same...no procedure, nothing.
I'm really confuzzled over this one. I've done this same type of thing
before, plenty of times :-S
Any thoughts would be greatly appreciated. Thanks.
Steve