The macro cannot be found or has been disabled because of your Macro security settings
Posted on 2010-11-09
I have a macro-enabled Word 2007 template with a custom ribbon menu tab created using Custom UI Editor. I get the above error message twice in a row each time I create a new document based on the template or open an existing document based on the template.
Word is installed fine and working perfectly. My ribbon and all my VBA macros run perfectly. It's just a nuisance. The error occurs before it ever gets to the Document_New code. I think it occurs when it is creating the menu tab, as if it were finding macros missing. But I've verified that each "onaction" macro referred to in the ribbon code exists, and has the appropriate (control as iRibbonControl) next to it.
I've had this before but can't remember how I resolved it.
Any ideas how to make this go away?