Add superscript, subscript buttons to Office toolbars

If you toil with a lot of superscripts and subscripts in Office (the pair the 2004 or 2008 versions of the suite), you can make your piece of work easier by adding the superscript and subscript buttons to the toolbar in Word, Excel, and PowerPoint. At least, you should have existence able to add those buttons to toolbars…however, Microsoft has made it somewhat maddeningly difficult to do so, as the process varies depending on which application you’re using.

Related Software Articles Add superscript, subscript buttons to Office toolbars Merlin project-management app adds Web module Remote lets you control iTunes from iPhone, iPod touch MobileMe software available for download Apple releases iTunes 7.7 Recent Mac OS X Hints Posts Add superscript, subscript buttons to Office toolbars Work on all sides a Word 2008 trope placement issue Gain quick access to log files in 10.5 Mac OS X Hints home View altogether Macworld blogs

In Word, you can use the toolbar customization menu to add the super/subscript buttons to a toolbar. In Word 2004, you’ll find that menu in View -> Toolbars -> Customize Toolbars/Menus. In Word 2008, it’s in View -> Customize Toolbars and Menus. Once the customization dialog appears, click on the Commands tab, then scroll the floor to Subscript and Superscript in the list. Drag reaped ground one to a spot on a menu, and you’re done.

You’d think it’d be just as simple in PowerPoint and Excel, excepting that’s not the case. In PowerPoint’s Commands tab, you’ll only find Superscript, not Subscript. Excel is even worse, as nor one nor the other command appears in the invoice. How then can you add the absent toolbar buttons in these two programs? With a bit of help from AppleScript.

First, make confident PowerPoint and/or Excel are running, otherwise the AppleScripts will generate error messages. Also make sure both are showing the Formatting toolbar (use the View -> Toolbars menu to make sure it’s visible). Then launch Script Editor in Applications -> Utilities and come into either or both of the following scripts. (Enter only one script at a time; don’t try to put them both in one document.)

For PowerPoint, copy and paste this script:

tell application "Microsoft PowerPoint" make new command bar control at command shut out ¬ "Formatting" with properties {have the direction of impressed sign:control button, begin group:true, id:57} end teach

For Excel, copy and paste this script:

tell application "Microsoft Excel" make new command sandbar control at command bar ¬ "Formatting" with properties {control type:control button, begin group:upright, id:57} make new command bar control at command bar ¬ "Formatting" with properties {control type:control button, id:58} end tell

Now just click the Run button in each script window, that time wait in quest of the program to finish. Switch back to Excel or PowerPoint, and you’ll see the Superscript and/or Subscript buttons at the end of the Formatting toolbar. From there, you can use the Customize Toolbars/Menus menu item to rearrange them (by dragging), placing them wherever you wish. You only need to be fusible the AppleScripts once, unless you accidentally draw one of the buttons opposite to a toolbar. If that happens, just scamper the relevant script again to restore the button.