how to run a macro in another active document

C

Charlie

Is it possible to have a button on my custon toolbar run some code in another
document that is open. the other document that has the code is called
"Schedule.dot". The code is sub Finder()
thanks,
ck
 
W

Word Heretic

G'day "Charlie" <[email protected]>,

Yes, you have to use VBA to find the control on the appropriate
command bar and modify its OnAction appropriately.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Charlie reckoned:
 

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