Quote:
Originally Posted by GoChatter
Thank you Paul! Really wish I had some programming knowledge. I have another question... Where should I paste the code? When I look at your document, I only see it in the VBA area; not the Macro area. However when I copy the code and paste it into my word document, nothing happens when I select something from the drop down menu.
|
The code goes in the 'ThisDocument' code module of the document (as is the code in the 'demo' document I posted) or, if you're using a particular template and want to have all the document based on that template have access to the same code, in the 'ThisDocument' code module of that template. The latter would also allow your documents to be saved in the docx format.
Macros that take arguments (in this case ByVal ContentControl As ContentControl, and Cancel As Boolean) are not accessible via the GUI.