Hi,
I have code that I've copy+pasted from another functioning workbook with new toolbar names, button names, etc. The problem is that one of the buttons (the second one) works fine, but the first one give me an error that says "Cannot run the macro "Document.xls'!GetWeeklyData'. The macro may not be available in this workbook or all macros may be disabled." Here's my code:Both Subs are in the same document and all of the macros are enabled. The "SaveCopyAsCSV" Sub is in its own module as is the "GetWeeklyData" Sub. I can go into the sub and step through the "GetWeeklyData" Sub just fine and it runs, but when attached to the button, it doesn't. I don't understand why it wouldn't work just like the other one, so any help is greatly appreciated. Thanks!Please Login or Register to view this content.
Bookmarks