Pre-requisites for calling macro in another template

C

Chad Knudson

I have a template that contains a small document manager
utility to let the user pick from a list of documents to
generate. The macro then creates a new document based on
a document template. So the manager creates newDoc based
on a template. I want the manager to call a macro named
CustomProcessing in the template that newDoc is based
upon but every time I try it I get an error about "Run-
time error -2147352573 (80020003) Unable to run the
specified macro". Every document template that my new
documents are based on contain a macro named
CustomProcessing.

What are the pre-requisites to being able to call that
macro from my document manager code?
 
C

Charles Kenyon

At what point in your base code are you trying to call CustomProcessing? Is
there more in your base code to be done after CustomProcessing runs?

How are you calling it?

What would happen if, instead, you named CustomProcessing "AutoNew" and had
it run upon document creation?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top