Hi All,
I'm trying to run VBA code in .xlsx, when .xlam in AddIns was created. However I'm getting this message, when I try to run it:
Cannot run the macro 'XYZ.xlam!Macro'.The macro may not be available in this workbook or all macros may be disabled.
If I create a module in .xlsx file and paste VBA code into module it runs smoothly.
Any ideas, how this can be fixed?
Thank you in advance.
I'm trying to run VBA code in .xlsx, when .xlam in AddIns was created. However I'm getting this message, when I try to run it:
Cannot run the macro 'XYZ.xlam!Macro'.The macro may not be available in this workbook or all macros may be disabled.
If I create a module in .xlsx file and paste VBA code into module it runs smoothly.
Any ideas, how this can be fixed?
Thank you in advance.
Last edited by a moderator: