Z
zSplash
Okay, get a load of this:
I am trying to check code using an attached template, and after I perfect
the code, make the attached template a workgroup template. I hope that's
proper.
So, I name the template "Forms.dot" and make it an attached template. (When
"Forms.dot" is my "Normal.dot", the code works perfectly.)
Now, as an attached template (with a blank Normal.dot), the code errors out
at the following code:
ActiveDocument.FormFields(4).ExitMacro = "doCopies"
"doCopies" is a sub within the attached template "Forms.dot", which is where
the code errors. I shouldn't have to refer to the module or project if it's
in the same routine, should I? When I halt the code, and manually go to the
document, I can manually "see" the sub "doCopies", so it's available, but
still my code errors.
Anyway, I can't get past this. Can anyone offer some help?
TIA
I am trying to check code using an attached template, and after I perfect
the code, make the attached template a workgroup template. I hope that's
proper.
So, I name the template "Forms.dot" and make it an attached template. (When
"Forms.dot" is my "Normal.dot", the code works perfectly.)
Now, as an attached template (with a blank Normal.dot), the code errors out
at the following code:
ActiveDocument.FormFields(4).ExitMacro = "doCopies"
"doCopies" is a sub within the attached template "Forms.dot", which is where
the code errors. I shouldn't have to refer to the module or project if it's
in the same routine, should I? When I halt the code, and manually go to the
document, I can manually "see" the sub "doCopies", so it's available, but
still my code errors.
Anyway, I can't get past this. Can anyone offer some help?
TIA