obautista
asked on
Macro to insert a Quick Part in MS Word Document
Is it possible to create a macro that inserts a quick part on the page? For example, the shortcut key would insert the "Author" Quick Part on the page.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is it safe to assume the VBA could be saved to a Word Macro-Enabled Template (*.dotm)?
Thanks for the tip -
Thanks for the tip -
Normally it is saved to Normal.dotm on your computer, so you can use it in any document (doc, docx, etc), but only on your computer
ASKER
I created a custom property named IM Code. How would I include that in VBA code?
When I go to Quick Parts > Document Property I see it there, but cannot get it to work in the VBA code. I receive "Error! Unknown document property name".
When I go to Quick Parts > Document Property I see it there, but cannot get it to work in the VBA code. I receive "Error! Unknown document property name".
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window