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 / Programming / July 2007

Tip: Looking for answers? Try searching our database.

Custom Macros, Toolbars and Buttons

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Barry - 26 Jul 2007 00:36 GMT
I have inherited a set of custom macros for creating and inserting images
into a document.  A custom toolbar and set of buttons are associated with
this macro set.  I am revising and enhancing the macro set, which includes
adding new buttons to the toolbar and modifying existing buttons.  I've tried
everything I can think of and I can't do the following:

  a. change an existing toolbar button's macro asignment from an obsolete,
      deleted macro to its new and improved replacement
      (the new macro has a different name)
  b. add a new button to the toolbar and assign it to one of the new macros.
     
As usual, I expect this is simple stuff and I'm just too blind to see it.  
Any help will be greatly appreciated.  

Signature

Barry Carroll

(Cleverly disguised as a trained SW engineer.)
---------
Datalogic Scanning, Inc. assumes no responsibility whatsoever for any
statements made by me.  I''m entirely on my own here.

Jay Freedman - 26 Jul 2007 02:10 GMT
For adding new buttons to a toolbar, see
http://www.word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToToolbar.htm.

You can't easily change a button's assignment. What you can do is this
three-step process:
1. Display the Tools > Customize dialog, right-click the old button,
and choose Copy Button Image.
2. Insert a new button for the new macro and, as part of setting it up
as described in the article, right-click it and choose Paste Button
Image.
3. Delete the old button by dragging it off the toolbar while the
Customize dialog is still open.

--
Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

>I have inherited a set of custom macros for creating and inserting images
>into a document.  A custom toolbar and set of buttons are associated with
[quoted text clipped - 9 lines]
>As usual, I expect this is simple stuff and I'm just too blind to see it.  
>Any help will be greatly appreciated.
Jonathan West - 27 Jul 2007 09:33 GMT
>I have inherited a set of custom macros for creating and inserting images
> into a document.  A custom toolbar and set of buttons are associated with
[quoted text clipped - 11 lines]
> As usual, I expect this is simple stuff and I'm just too blind to see it.
> Any help will be greatly appreciated.

Hi Barry

There are ways of changing a button's functions using VBA, for instance
changing the tooltip, which can't be done through the user interface. If
jay's answer doesn't do all you need, then ask again and I can point you in
the right direction.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

 
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.