Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a Workbook with 10 sheets. Each has approximately 8 or 10 Macros +
Links. When the Workbook is opened, cell A1 is selected. Each of the macros listed on the left side opens an existing tab or worksheet, which is part of the Workbook. Each time a new sheet is opened, cell A1 is selected. Once in awhile (too frequently) when one of the macros or external links is clicked on any of the pages, nothing happens. Sometimes, the second click activates the Macro, and sometimes a blank cell has to be selected 1st and then the macros will work. I think I need a line of code either at the beginning or end of each Macro that will somehow make the macro recoginize that the sheet displayed is the activesheet, so that the click on the macro always works. Any ideas everyone ? Matt@Launchnet -- Please take a look at www.openoursite.com Click on: "Keywords" and then Click on "Matt's Story" and if you are a man, you should be very happy that you read my story. God Bless for everyones help. Message posted via http://www.officekb.com |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I think I found a solution last night. I was using code:
Range("a1").Select Last night I changed it to: Application.Goto Reference:="R1C1" Seems OK, but I want to test some more. Thanks Matt@Launchnet Launchnet wrote: I have a Workbook with 10 sheets. Each has approximately 8 or 10 Macros + Links. When the Workbook is opened, cell A1 is selected. Each of the macros listed on the left side opens an existing tab or worksheet, which is part of the Workbook. Each time a new sheet is opened, cell A1 is selected. Once in awhile (too frequently) when one of the macros or external links is clicked on any of the pages, nothing happens. Sometimes, the second click activates the Macro, and sometimes a blank cell has to be selected 1st and then the macros will work. I think I need a line of code either at the beginning or end of each Macro that will somehow make the macro recoginize that the sheet displayed is the activesheet, so that the click on the macro always works. Any ideas everyone ? Matt@Launchnet -- Please take a look at www.openoursite.com Click on: "Keywords" and then Click on "Matt's Story" and if you are a man, you should be very happy that you read my story. God Bless for everyones help. Message posted via http://www.officekb.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I name a picture as I paste it from VBA? (ActiveSheet.Past. | Excel Discussion (Misc queries) | |||
ActiveSheet.Paste - Error help? | Excel Discussion (Misc queries) | |||
activesheet.tab.colorindex not working when workbook shared | Excel Discussion (Misc queries) | |||
Working with Macros-Activesheet.Paste | Excel Discussion (Misc queries) | |||
Difference between Activesheet.unprotect | Excel Discussion (Misc queries) |