Hey everyone,
I'm hoping someone can help me out troubleshooting some code I found online (from Ken Puls).
Context:
- I have 2 workbooks ('Master' and 'Dash'). The first ('Master') compiles and summarizes data and the second ('Dash') imports this summarized data and presents it in a more 'user friendly' format.
- I have a series of macros that run in 'Master' and I have a macro in 'Dash' that imports from 'Master' to 'Dash'
Purpose of desired macro:
- I would like to integrate the macro that imports from 'Master' to 'Dash' (currently residing in the 'Dash' workbook) into the a macro in the 'Master' workbook.
Solution so far (which results in an error):
-The following code which I tried to run from 'Master' is intended to open 'Dash' and run its 'Exprt' macro. Unfortunately it results in an error ("Run-Time error '1004': Cannot run the macro [...] The macro may not be available in this workbook or all macros may be disabled") at this line:
The complete macro code is below:
Any ideas to fix this issue? I've tried a few variation of that line causing the error and nothing worked so far.
Thank you,
Goeff.
Bookmarks