MS Office Tools

by Andy Hollandbeck

Under continuous construction

Over the years, I've built up my knowledge of some of the inner workings of the MS Office Suite. I've built (and continue to build) a number of new tools for Word and Excel using VBA. Here, I'll share some of what I've learned, including the code and how-to instructions. My hope is that this will be a useful resource for others who are trying to learn VBA.

Although most of the tools here are straightforward code, some of them require the creation of a7:32 AM 9/16/2009 form in VBA, which takes longer, requires more VBA knowledge, and can just be a big hassle. Tools marked with include the creation of a form.

MS Word

Short-term BookmarkClick one button to mark your place, move all over the document, and then click another button to go right back where you started.
ASCII Character FinderFind the ASCII character code for any character you can create in Word. (obsolete)
Delete HyperlinksRemove all the hyperlinks in a document or all the hyperlinks in a selection
Follow HyperlinkFollow a URL that isn't already styled as a hyperlink

MS Excel

CTIME: Convert time into a readable format
Decimal Number Conversion Tools
  DEC2BASEConvert a decimal number to any other base from binary to hexadecimal
  BASE2DECConvert a number from one base (up to hexadecimal) into decimal

Office Ribbon

Gathering Your Office Ribbon Resources
Ribbon Basics
Create Your First Customization
  Inserting the tab where you want it
  Adding a whole group to the new tab
  Creating a custom group of Word commands
Grouping Buttons
  buttonGroup control
  dropDown control
  splitButton control

Others