Question : Create a 'global' macro

I have a macro I've written in VBA in a module in a spreadsheet. I would like to remove it from the spreadsheet and make it more-or-less stand-alone, since the spreadsheet will be distributed, and the macro is something that I will run initially after data has been loaded. Is there some way a macro can be created as a stand-alone entity and then run by me manually on an as-required basis against the active workbook?

Answer : Create a 'global' macro

If you don't already have a Personal Macro Workbook (Personal.xls) then you can create one by starting to record a macro and choosing to save it in the Personal Macro workbook. (It doesn't matter about actually recording the macro, this is just to create the workbook) You can then move the macro to a module in Personal.xls and it will be available whenever you run Excel.
HTH
Rory
Random Solutions  
 
programming4us programming4us