Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi folks!
How do I tell a macro to work on the active sheet? My problem is: I have created several macros and assigned to a toolbar. When I move the excel file Excel everytime refers to the file where I have assigned the macros to the toolbars... Please help me! I have been sitting for a really long while trying to solve this problem. Thanks! ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you want the menu to use macros from the activeworkbook, you would have
to reassign them. If you mean you have macros that need to refer to the activesheet, then use the activesheet object in your code. -- Regards, Tom Ogilvy "blop" wrote in message ... Hi folks! How do I tell a macro to work on the active sheet? My problem is: I have created several macros and assigned to a toolbar. When I move the excel file Excel everytime refers to the file where I have assigned the macros to the toolbars... Please help me! I have been sitting for a really long while trying to solve this problem. Thanks! ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro for active sheet only | Excel Discussion (Misc queries) | |||
diable macro if a certain sheet is active | Excel Discussion (Misc queries) | |||
macro active sheet | Excel Discussion (Misc queries) | |||
Active Form during Execution | Excel Discussion (Misc queries) | |||
Excel Changes File Name During Code Execution | Excel Programming |