Using VBA from an attached template

N

Neil

I have a template with vba which saves documents to a
certain folder on close, and would like to set it as a
global template and use the save function as a generic
save. I have a shortcut to the global template in my start
up which allows me to use mecros and other functions from
the global template but I dont know how to access the
DocumentClose code instead of the normal.dot
DocumentClose. can any one please help
 
M

Malcolm Smith

I have a template with vba which saves documents to a
certain folder on close, and would like to set it as a
global template and use the save function as a generic
save. I have a shortcut to the global template in my start
up which allows me to use mecros and other functions from
the global template but I dont know how to access the
DocumentClose code instead of the normal.dot
DocumentClose. can any one please help


Neil

Where would you want the code, in the template itself or in a start-up
template which lives in the start-up folder?

What I have done for client is to have a start-up template which has all
the code and then it is called from each document in turn.

I take it then you're in Conwy itself; I'm just over the mountains from
you; am in Porthmadog enjoying the light drizzle...

- Malc
www.dragondrop.com
 
N

Neil

Thanks for your prompt reply but please excuse my
ignorance as to how to locate the article?
 
M

Malcolm Smith

Thanks for your prompt reply but please excuse my
ignorance as to how to locate the article?


Neil

Which article?


Thinking about this more I would have the event for when the Document is
closed in a Start-up template.

What sort of stuff do you want happening?

- Malc
www.dragondrop.com
 

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