View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
SteveDB1 SteveDB1 is offline
external usenet poster
 
Posts: 414
Default call to macro in xlam from macro in xlsb

Hello all.
I just finished a macro, and wanted to add a call operation in it to another
macro located in my xlam file.
The "source" macro is located in my xlsb file.
I tried
application.run "c:\fullpath\AddIns\MyAddIns.xlam!MacroName"
I also tried it without the full path, and that did not work.

How do I accomplish this?

Oh, the macro in the xlam file has the (optional control as IRIbbonControl)
to allow it to be accessed within the xlam file from other macros.

Thank you.
Best.