![]() |
formatting the view of a worksheet
I have a button on a worksheet that selcts a cell on another sheet. I want to display the cell so that it is in the upper left corner of the window, but I can't find any method to do this. Any help appreciated. Code so far (works fine): Private Sub SectionAHelpButton_click() Sheets("Instructions").Select Sheets("Instructions").Range("SectionAHelp").Selec t End Sub but SectionAHelp might appear at the bottom of the page, and I want it to appear at the top left. |
formatting the view of a worksheet
Private Sub SectionAHelpButton_click()
Application.Goto _ Reference:=Sheets("Instructions").Range("SectionAH elp"), _ Scroll:=True End Sub -- Regards, Tom Ogilvy "Pat" wrote in message ... I have a button on a worksheet that selcts a cell on another sheet. I want to display the cell so that it is in the upper left corner of the window, but I can't find any method to do this. Any help appreciated. Code so far (works fine): Private Sub SectionAHelpButton_click() Sheets("Instructions").Select Sheets("Instructions").Range("SectionAHelp").Selec t End Sub but SectionAHelp might appear at the bottom of the page, and I want it to appear at the top left. |
All times are GMT +1. The time now is 12:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com