Macro Intro
This is a Word Macro that will help you quickly format a document consistently without having to click all the typical formatting options. This macro can help prevent common mistakes and provide a more consistent formatting result. The macro is built to format only the selected content of the document. If nothing is selected, then the entire document is formatted. This code can be easily customized to meet your unique formatting needs!See it in Action
Watch this video to see this macro in action.Free Macro
Here is the code for this macro. Make sure the following References are setup before running it: Visual Basic For Applications, Microsoft Word 16.0 Object LibraryInsider Content
Here is the Insider code for this macro. This code will allow you to run the quick format macro for all Word Documents found in the same folder as the Active Word Document. Make sure the following References are setup before running it: Visual Basic For Applications, Microsoft Word 16.0 Object LibraryCustomization
These segments of code can be customized to personalize this macro.If nothing is selected format the entire Word Document. WdSelectionType is used to determine what is currently selected in the Active Word Document check out all available Selection Types for Word here!
Update the Properties of the Font Object to get the behavior you want when formatting the entire Word Document. (Properties include but not limited to: Font Color, Font Size, Bold, Italic, Underline, Font Name, see all Properties here!)
If something is selected format that selection in the Word Document. WdSelectionType is used to determine what is currently selected in the Active Word Document check out all available Selection Types for Word here!
Update the Properties of the Font Object to get the behavior you want when formatting the current selection in the Word Document. (Properties include but not limited to: Font Color, Font Size, Bold, Italic, Underline, Font Name, see all Properties here!)