Auto running of a macro

P

Pilko100

I have a macro to update all fields in a document. The fields come from the
file>properties section. What I want to happen is for the fields to update
(ie the macro to run) when the properties form is OK'd. Currently I can only
get it to work using the windowActivate event which means you have to select
another window first then select back again.

Is there an easy way to make this happen. If not is there a way I can create
a toolbar button that keeps with the template and doesnt disappear. (I have
already tried the button option but it keeps disappearing if I press the
button or if I open up a document from the template. The only way to make it
reappear is to go back to customise)
 

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