Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a very simple macro that I created in a sheet for the week of 13 Feb
09. Sub GoToK019() ' ' GoToK019 Macro ' Go to K019 ' Range("A472").Select End Sub All I want to do is go to cell A472. However, when I save the sheet to the week of 20 Feb 09 and fire the macro, it opens up the sheet for 13 Feb 09 and goes to that cell. I have around 70+ of these in that sheet. How do I get the macros to carry forward each week and apply to the sheet for the current week? Thanks..........TC |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I might add....there are other people who use this sheet. Placing the macros
into my personal won't work! "TomCat" wrote: I have a very simple macro that I created in a sheet for the week of 13 Feb 09. Sub GoToK019() ' ' GoToK019 Macro ' Go to K019 ' Range("A472").Select End Sub All I want to do is go to cell A472. However, when I save the sheet to the week of 20 Feb 09 and fire the macro, it opens up the sheet for 13 Feb 09 and goes to that cell. I have around 70+ of these in that sheet. How do I get the macros to carry forward each week and apply to the sheet for the current week? Thanks..........TC |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sub GoToK019()
' ' GoToK019 Macro ' Go to K019 ' Dim shName As String shName = Format(Date + 7 - (Weekday(Date + 1)), "dd mmm yy") Application.Goto Worksheets(shName).Range("A472").Select End Sub -- __________________________________ HTH Bob "TomCat" wrote in message ... I have a very simple macro that I created in a sheet for the week of 13 Feb 09. Sub GoToK019() ' ' GoToK019 Macro ' Go to K019 ' Range("A472").Select End Sub All I want to do is go to cell A472. However, when I save the sheet to the week of 20 Feb 09 and fire the macro, it opens up the sheet for 13 Feb 09 and goes to that cell. I have around 70+ of these in that sheet. How do I get the macros to carry forward each week and apply to the sheet for the current week? Thanks..........TC |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
goto function in macro 2 | Excel Discussion (Misc queries) | |||
goto function in macro | Excel Discussion (Misc queries) | |||
Goto a specific cell in a macro | Excel Discussion (Misc queries) | |||
Using 'GoTo' in a Macro | Excel Discussion (Misc queries) | |||
Goto a dynamic cell address within a macro | Excel Discussion (Misc queries) |