Hello,
This is my first post so please forgive me if I am doing anything wrong. Thanks in advance for your help.
I have multiple macros in two different workbooks, and a "Master" macro which is intended to switch back and forth between activating the two books, calling subs in each. It won't even get past the first few lines:
The Master is stored in "Blank Template with Macros.xlsm" which is the active book when Master is run. When I try to run it, I get a "Sub or Function not Defined" error and the line containing Call Create_Defects_Raw_Data_Pivot is highlighted. The workbook "Weekly Feedback Raw Data.xlsm" contains the create pivot macro. Here is the code for the create pivot macro:
This sub works fine when I run it from the feedback workbook. Shouldn't I be able to call the Create_Defects_Raw_Data_Pivot sub once the "Weekly Feedback Raw Data.xlsm" book is activated? Am I wrong in assuming that a public sub should be accessible if it is in the active workbook?
Please let me know if you need more info.
Bookmarks