Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Post your macro code and we'll have a look.
But.............anywhere you have a hard-coded reference to a sheet or workbook you would change the code. i.e. Sheets("Sheet1") would become ActiveSheet if Sheet1 was selected. Gord On Thu, 21 Aug 2008 00:20:01 -0700, Beverly Darvill wrote: Where do I change the code ato run on Activeworkbook and Activesheet please. "Gord Dibben" wrote: Place your macro(s) in your Personal.xls Change the code to run on your Activeworkbook and Activesheet. Personal .xls will open with each start of Excel. Mark it as "hidden" under WindowHide then save it in that condition. All macros will be available for all opened workbooks. BTW........I think you have workbooks and worksheets confused. Worksbooks are comprised of one or more sheets. Sheets cannot be opened by themseleves. Gord Dibben MS Excel MVP On Wed, 20 Aug 2008 06:19:02 -0700, Beverly Darvill wrote: I have a number of worksheets that employ the same macro and on occasions I need to update the information with the macro. To stop having to repeat the information a number of times I want to store all the macros in one sheet so that I only have to update the information once. However I don't want the sheet that holds the macro to open everytime and then have to close it everytime. Is this possible? If so how Thanks Beverly |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with Macro in selecting sheets. | New Users to Excel | |||
macro for same value in 2 different sheets | Excel Discussion (Misc queries) | |||
Add sheets using macro | Excel Worksheet Functions | |||
macro for new sheets | Excel Worksheet Functions | |||
macro/new sheets | Excel Discussion (Misc queries) |