Solved

Macro in the Command Bar

Posted on 2008-10-16
1
306 Views
Last Modified: 2012-05-05
Is there a way to create an icon or text that resides in a Custom command bar that will execute a procedure that is in the code of a document template?  Can I have that code reside in the template code (like in a Module) or does it have to be in the Normal document code?
0
Comment
Question by:HardyDesertDuo
1 Comment
 
LVL 80

Accepted Solution

by:
byundt earned 500 total points
ID: 22737061
 To assign a macro to an icon on a command bar:
  1. Open the View...Toolbars...Customize menu item    
  2. Go to the Commands tab, then select Macros from the pane on the left    
  3. Select the document that contains your macro in the Save In dropdown at the bottom    
  4. Find your macro in the pane on the right    
  5. Drag it up to a toolbar    
  6. Right-click the text and choose Button and Text if you want an icon & text. Choose Default Style if you want just the icon.    
  7. Right-click the icon and choose Change Button Image if you want to pick the icon  
Brad
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now