1) open a new document based upon a particular template.
2) when you start a document -- based upon a template -- you want a
particular button on the toolbar.
Ross to create a button to open a specific template you need to record a
Macro. I am going to assume you don't know how. Here are the steps. To
record a Macro select the Tools menu | Macro | Record New Macro. In the
Record Macro dialog box name the new macro, must have no spaces and I think
no more than 40 characters (I may be wrong with the last fact). In the Store
macro in make sure the Normal.dot is selected. If you put it in any other
documents the Macro will be available ONLY IN THAT DOCUMENT. Record a
description if you like. Click OK. You will see a new floating toolbar and
your pointer will have a cassette on the bottom. Now very carefully go
through the steps of opening the template with the mouse. When all done
click the Stop Recording button, the left button on the new toolbar. Close
the template you just opened. Return to the Tools menu | Macro | Macros.
Click on the macro you just created and select Run. If that worked we are
ready to create a button, if it didn't work repeat the above steps.
To create a button select Customize off the Tools menu. Click the Commands
tab. In the left window select Macros. In the right window click on your
macro and drag it to a toolbar you normally have displayed. Right click on
the new button. Here you can rename the button and/or Change the Button
Image.
Thanks, Fay, however for some unknown reason this simple macro won't work.
When I run it, simply opens the New File dialog box (where the templates are
all listed) instead of opening the template. I know I recorded correctly.
Any ideas?
Try recording the macro. Make sure that you go File | New | on the Task Pane
click On my computer in the section under Templates | locate the appropriate
template | open the template | click the close button.
Fay
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.