From: rvGraham on 23 Dec 2009 13:05 Running Windows 7, Office 2007. I have a document with a couple of macros in it (which work fine) but when I first open it I still get "Macro cannot be found or macros are disabled". This is a *.docm file with code responding to custom button in a custom ribbon group. Trust access to visual basic project is also enabled. Bob
From: Doug Robbins - Word MVP on 23 Dec 2009 19:49 Is the document being opened from a Trusted Location? I find little (usually no need) for having macros in documents themselves. Rather they should be in templates (.dotm) and the documents should be created by selection of the template as the basis for the document to be created. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "rvGraham" <rvGraham(a)discussions.microsoft.com> wrote in message news:29589C45-6030-410F-9B80-FDA6D93E32B1(a)microsoft.com... > Running Windows 7, Office 2007. I have a document with a couple of macros > in > it (which work fine) but when I first open it I still get "Macro cannot be > found or macros are disabled". > > This is a *.docm file with code responding to custom button in a custom > ribbon group. > > Trust access to visual basic project is also enabled. > > Bob
|
Pages: 1 Prev: Toolbar Transition Word 2003 to 2007 Next: Open New Visio Drawing using VBA in Word? |