![]() |
|
#1
|
|||
|
|||
![]()
Many thanks, Andrew.
I tried the following with success: Application.Run "aMD_ForThisDocument.aMD_Document_ContentControlOn Enter", ctrl 'Works I'm passing a reference to a ContentControl to a module routine in a stand-alone template which has nearly all the required code. However, I wanted to also have a seperate template that loads that stand-alone template and use its code. The stand-alone template's ThisDocument class calls the routines in its aMD_ForThisDocument module instead of having the code in the class mod and allow other projects use them. (Confusing? Probably. Sorry.) Neverthelsess, I got it working. I tried including the addin's filename to help avoid having duplicate module names in various addins but that failed. Thanks again, VBAadvocate (Jim) |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Typing to cell fails | DickVeitch | Excel | 6 | 11-20-2017 10:34 AM |
SaveAs or Export to PDF fails | Optiker | Publisher | 0 | 11-12-2017 12:17 PM |
![]() |
serge1p | Excel Programming | 1 | 09-21-2017 02:28 AM |
![]() |
jlumbtx | Office | 1 | 01-07-2015 10:00 AM |
![]() |
Mystified1 | Office | 4 | 02-07-2011 01:32 PM |