I have an xlsm file with vba code. I copied that file to a new one, removed all sheets and saved it as xlam (Excel 2010 xla macro file).
Now this file is available in File->Options->Manage Addins. But even if I select it it is not shown in the list of addins.
Now I would like to execute the code from addin from within the original xlsm file. But how?
假设文件已打开,则可以使用:
Application.Run "'add-in name here.xlam'!macro_name"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.