Add-In woes

Giordano Bruno

Well-known Member
Joined
Jan 7, 2007
Messages
1,341
I have a workbook called CATS-01.xls. It contains a macro called Rect13.

I have saved the workbook as a .xla. In another workbook I have a macro with the following line:

Application.Run ("CATS-01.xla!Rect13").

I have added CATS-01 to my list of Add-Ins, but the above line fails with the message:

Run time error '1004':
The macro 'CATS-01.xla!Rect13'

CATS-01 is visible in the project window and the macro Rect13 is there also.

Is anyone able to suggest the source of the error?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
For the record, I believe that I have solved the mystery. When I removed the dash from the name, the code worked.
 
Upvote 0

Forum statistics

Threads
1,213,532
Messages
6,114,177
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top