E
Eric
The application starts as a Word template (.dot) file that contains VBA code
and a userform. When a doc file is created from the dot file on the
development machine, everything works well.
If the doc file is zipped and emailed to another user, the userform and the
line of code that shows the form is stripped. The VBA editor does show a
reference to source dot file, but that's all.
Without forcing several hundred users to install add-ins or global
templates, is there a way to add the userform to the resulting doc file?
Incidentally, a simple message box would have sufficed, except for a single
problem. The MsgBox function only allows 1024 characters in the prompt
string, and about 1200 are needed.
and a userform. When a doc file is created from the dot file on the
development machine, everything works well.
If the doc file is zipped and emailed to another user, the userform and the
line of code that shows the form is stripped. The VBA editor does show a
reference to source dot file, but that's all.
Without forcing several hundred users to install add-ins or global
templates, is there a way to add the userform to the resulting doc file?
Incidentally, a simple message box would have sufficed, except for a single
problem. The MsgBox function only allows 1024 characters in the prompt
string, and about 1200 are needed.