I\'m trying to call an Excel macro that\'s in another workbook. It\'s a sheet-specific macro, but the syntax given by Microsoft documentation and researching on the web, on
can you adjust your macro to accept a sheetname as a parameter? Then when you call it within your original workbook's sheet you could just call it as MyMacro(me.name)? Then when you call it from your other workbook, you could just call it as application.run("testworkbook.xls!MyMacro","sheetname") where "sheetname" is your parameter.
I'm not sure if there is any other way to do it.