Microsoft Office Macros
Last updated
Last updated
Enable Developer Tools in the Ribbon Menu to gain access to macros
Name your Macro AutoOpen() if you are working with Word 2016+
Select the Current Document as the place to store the Macro
Don't use .docx as the file extension since it won't allow for embedded macros. Either use .doc or .docm
When using the 64 bit version of Microsoft Word, Declare VBA functions with "PtrSafe" to avoid compilation errors.