ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do i start Excel in a particular cell? (https://www.excelbanter.com/excel-discussion-misc-queries/19221-how-do-i-start-excel-particular-cell.html)

lennyx2

How do i start Excel in a particular cell?
 
Is there a way that when i open Excel (whether in general or a particular
file) that it will begin in a particular cell; regardless of where the user
was when the file was closed??
Thanks in advance

Bob Phillips

Private Sub Workbook_Open()

Worksheets("Sheet1").Activate
Range("A1").Select

End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--

HTH

RP
(remove nothere from the email address if mailing direct)


"lennyx2" wrote in message
...
Is there a way that when i open Excel (whether in general or a particular
file) that it will begin in a particular cell; regardless of where the

user
was when the file was closed??
Thanks in advance





All times are GMT +1. The time now is 05:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com