Word 2000 Mailmerge doesn't copy Visual Basic code from main document

Darrell Porter
Darrell Porter used Ask the Experts™
on
Maybe this doesn't belong here but I am at my wits end (not a long trip).

I have a document I have created with extensive amounts of VB code.  I have an Excel spreadsheet that contains merge fields (name, job title, etc).

I need all the automation I've put in the main document to be distributed within each of the merged documents.  How do I do this programmatically?

Thanks in advance!

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
You can do two things:
- Make a template that will be included in all newly made documents.
- Use the MS Script Control: it allows you to dynamically add code (procedures, methods, etc.).
Darrell PorterEnterprise Business Process Architect

Author

Commented:
Unfortuinately, neither of these solutions were workable, but thanks for the effort.

Walkabout

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial