I am using excel from office 365/2016. I recorded a macro in a template. Template is called from another application(MSPROJECT) and when opening, it opens as an excel workbook with a new name. When the macro is run from the new workbook, it opens the original template and modifies that template rather than the new workbook. If I update and rename the template and delete the old template, the macro does not work at all and says it cannot find the old template. How do I get the macro to be part of the workbook from which it is run rather than referencing the template where it was created? Note that the templates are shared with different people after updating rather than having a central location, so I am trying not to have the macros associated with files on my machine.
Bookmarks