Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Menus and Toolbars / June 2008

Tip: Looking for answers? Try searching our database.

Macro doesn't work in toolbar - Word 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Caroline Horner - 25 Jun 2008 06:49 GMT
Hi
I have created a report template and added a Toolbar named "Styles".  I have
saved the template as  .dot file.

The toolbar has 5 buttons on it:  Apply Heading 1, Apply Heading 2, Apply
Heading 3, Apply Body Text, Insert Table

All of them work when you open the document as  .dot file, but when the
document is opened as a .doc file, the Apply Body Text doesn't work (it is a
macro that I created).  It says "Could not open macro storage - Error 5981.
This is driving me nuts and was wondering if anyone has any idea why this
would happen and how to get around it.

Your help would be greatly appreciated.

Cheers
Caroline
Graham Mayor - 25 Jun 2008 07:41 GMT
You don't need macros to apply styles to a toolbar. You can simply add the
styles to the toolbar.

What does "All of them work when you open the document as  .dot file, but
when the document is opened as a .doc file, the Apply Body Text doesn't work
(it is a macro that I created)." mean. Are the macros saved in the template
along with the toolbar? Is that template available to people opening the
documents created from it?

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Hi
> I have created a report template and added a Toolbar named "Styles". I
[quoted text clipped - 13 lines]
> Cheers
> Caroline
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.