Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hello from Steved
Ok I'm in Column AA activating the below macro will take the cursor to A5, What do i need to do also to scroll to A5. The below macro will take the cursor to A5 but I cannot see all my worksheet as when saved the cursor will be in A5 but the worksheet is still showing column AA. Sub SaveNClose() Application.Goto Reference:=Worksheets(1).Range("A5").Select ActiveWorkbook.Close True Thankyou. End Sub |
#2
![]() |
|||
|
|||
![]()
Hi, Steved. All you need is this:
Range("A5").Activate ******************* ~Anne Troy www.OfficeArticles.com "Steved" wrote in message ... Hello from Steved Ok I'm in Column AA activating the below macro will take the cursor to A5, What do i need to do also to scroll to A5. The below macro will take the cursor to A5 but I cannot see all my worksheet as when saved the cursor will be in A5 but the worksheet is still showing column AA. Sub SaveNClose() Application.Goto Reference:=Worksheets(1).Range("A5").Select ActiveWorkbook.Close True Thankyou. End Sub |
#3
![]() |
|||
|
|||
![]()
Hello Anne from Steved
Range("A5").Activate puts the cursor in A5, which is part what I require, I need the sheet to scroll to A5 to show the left hand margin. As an example if you are working in Column AA for example and apply your formula it will put the cursor in Cell A5 but it wil not scroll thefore leaving AA whre I was working, Thanks for your help. "Anne Troy" wrote: Hi, Steved. All you need is this: Range("A5").Activate ******************* ~Anne Troy www.OfficeArticles.com "Steved" wrote in message ... Hello from Steved Ok I'm in Column AA activating the below macro will take the cursor to A5, What do i need to do also to scroll to A5. The below macro will take the cursor to A5 but I cannot see all my worksheet as when saved the cursor will be in A5 but the worksheet is still showing column AA. Sub SaveNClose() Application.Goto Reference:=Worksheets(1).Range("A5").Select ActiveWorkbook.Close True Thankyou. End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
cell color index comparison | New Users to Excel | |||
Insert text in a cell with a macro | Excel Discussion (Misc queries) | |||
Help with macro looping and color query function | Excel Discussion (Misc queries) | |||
How can I edit cell contents with a macro in Excel? | Excel Discussion (Misc queries) | |||
How can I edit cell contents with a macro in Excel? | Excel Discussion (Misc queries) |