Everyone,

I have placed a custom toolbar button on an existing toolbar. I
indicated that the button should be saved in my template file.

Problem: When I open the template file or when I generate a new
document based on the template file, the custom button is not visible.
I then right-click on the toolbar, click on 'customize', and before I
go any further, the custom button is visible on the toolbar. Any ideas
why this is happening?

My goal is to have users open a new document based on the template, and
run the macro associated with the custom button.

Thanks for your help.

Gerry

RE: Disappearing Toolbar Button by zkid

zkid
Sun Apr 02 21:33:01 CDT 2006

I have had this happen before. Most likely, the toolbar change saved to
your normal template intead of your "toolbar" template.

With Word closed, you need to move normal.dot out of your templates folder
(C:\Documents and Settings\[user name]\Application Data\Microsoft\Templates)
and then restart Word. Retrieve your template and make sure it states
[template name].dot in the document name location at the top. Re-add the
macro button. and save your template and close it. Try it again. if it
works, go ahead and put your old normal.dot file back in the templates folder.

Open Word and see if it all works. If it worked with the old normal.dot
file out, but not when you put it back in, you might need to create a new
normal.dot file.

"Haukwa" wrote:

> Everyone,
>
> I have placed a custom toolbar button on an existing toolbar. I
> indicated that the button should be saved in my template file.
>
> Problem: When I open the template file or when I generate a new
> document based on the template file, the custom button is not visible.
> I then right-click on the toolbar, click on 'customize', and before I
> go any further, the custom button is visible on the toolbar. Any ideas
> why this is happening?
>
> My goal is to have users open a new document based on the template, and
> run the macro associated with the custom button.
>
> Thanks for your help.
>
> Gerry
>
>

Re: Disappearing Toolbar Button by Haukwa

Haukwa
Tue Apr 04 12:28:09 CDT 2006

zkid,

Thanks for the reply. I tried the steps you suggested.

Apparently, I had saved the new macro button to mytemplate.dot, but I
had not saved the template with the custom toolbar enabled. Everytime
I opened mytemplate.dot, the custom toolbar was not visible. Upon
attempting to 'customize' the toolbars, the custom toolbar would
appear.

I'm not sure if my problem/solution are apparent to anyone but me, but
your assistance was most helpful.

Thanks

Gerry


Re: Disappearing Toolbar Button by zkid

zkid
Tue Apr 04 12:38:04 CDT 2006

You're welcome. I hope it is all working now.

"Haukwa" wrote:

> zkid,
>
> Thanks for the reply. I tried the steps you suggested.
>
> Apparently, I had saved the new macro button to mytemplate.dot, but I
> had not saved the template with the custom toolbar enabled. Everytime
> I opened mytemplate.dot, the custom toolbar was not visible. Upon
> attempting to 'customize' the toolbars, the custom toolbar would
> appear.
>
> I'm not sure if my problem/solution are apparent to anyone but me, but
> your assistance was most helpful.
>
> Thanks
>
> Gerry
>
>