ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   opening sheet, next available cell displayed (https://www.excelbanter.com/new-users-excel/124885-opening-sheet-next-available-cell-displayed.html)

Stephen

opening sheet, next available cell displayed
 
When I open a workbook/sheet, I want the next available cell for data entry
to be displayed, at the moment the page scrolls somewhere halfway up existing
data, meaning I have to scroll down to the next data entry point. Can I do
this ??

John Bundy

opening sheet, next available cell displayed
 
Put this on a workbook open event, change sheet name and cell column as
needed
Private Sub Workbook_Open()
Sheets("sheet1").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).Select
End Sub

--
--
-John
Please rate when your question is answered to help us and others know what
is helpful.

"Stephen" wrote in message
...
When I open a workbook/sheet, I want the next available cell for data
entry
to be displayed, at the moment the page scrolls somewhere halfway up
existing
data, meaning I have to scroll down to the next data entry point. Can I
do
this ??




Ron de Bruin

opening sheet, next available cell displayed
 
Note: If sheet1 is not the activesheet when you open the workbook the code is not working

Use this in the open event

Application.Goto Sheets("Sheet1").Cells(Rows.Count, "A").End(xlUp)(2)


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"John Bundy" wrote in message ...
Put this on a workbook open event, change sheet name and cell column as
needed
Private Sub Workbook_Open()
Sheets("sheet1").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).Select
End Sub

--
--
-John
Please rate when your question is answered to help us and others know what
is helpful.

"Stephen" wrote in message
...
When I open a workbook/sheet, I want the next available cell for data
entry
to be displayed, at the moment the page scrolls somewhere halfway up
existing
data, meaning I have to scroll down to the next data entry point. Can I
do
this ??





All times are GMT +1. The time now is 10:14 AM.

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