ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do i reuse a Excel macro on another worksheets, global macro? (https://www.excelbanter.com/excel-programming/376468-how-do-i-reuse-excel-macro-another-worksheets-global-macro.html)

Global Macro?

How do i reuse a Excel macro on another worksheets, global macro?
 
I created a module/macro on one of the excel sheets. Now i want this to be
used in another worksheets. I do not want to end up copying modules, but is
there a concept of global macros?

Nigel

How do i reuse a Excel macro on another worksheets, global macro?
 
The simplest thing to do would be to save it in your personal macro
workbook.

If you have not created one already, then record a new macro and chose the
drop down store in 'Personal Macro Workbook'

A new workbook is created (default called Personal.xls), in the autoopen
directory of Excel, when you open Excel this workbook is also opened yet it
is hidden. Macros in the workbook can be run from the visible workbook.

--
Cheers
Nigel



"Global Macro?" <Global wrote in message
...
I created a module/macro on one of the excel sheets. Now i want this to be
used in another worksheets. I do not want to end up copying modules, but
is
there a concept of global macros?





All times are GMT +1. The time now is 11:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com