Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 106
Default Ensure Excel goes to last used cell upon startup

I have a condition when starting Excel (2002), instead of going to the last
used cell (when I saved and shutdown Excel), the sheet goes a cell halfway up
(it's the same cell every time). As the sheet grows, this becomes a nuisance.
Does anyone have an idea how to force Excel to go to last entered cell? I
tried a suggestion sometime ago, which involved entering a line of code into
an active cell, but this has not worked. Any suggestions would be greatly
appreciated :) (Excel novice BTW)
Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Ensure Excel goes to last used cell upon startup

Everything else being equal, Excel should open very close to the last screen-view on that sheet
prior to final save unless an event macro is working behind the scenes or if you hit PageUp or
PageDown etc.

Plan B Do Alt-GAdvancedLastCellReturn

Eagleone

Stephen wrote:

I have a condition when starting Excel (2002), instead of going to the last
used cell (when I saved and shutdown Excel), the sheet goes a cell halfway up
(it's the same cell every time). As the sheet grows, this becomes a nuisance.
Does anyone have an idea how to force Excel to go to last entered cell? I
tried a suggestion sometime ago, which involved entering a line of code into
an active cell, but this has not worked. Any suggestions would be greatly
appreciated :) (Excel novice BTW)
Thanks in advance.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Ensure Excel goes to last used cell upon startup

I used the last used cell in column A of Sheet1. Change this as required:

Option Explicit
Sub auto_Open()
With Worksheets("Sheet1")
Application.Goto .Cells(.Rows.Count, "A").End(xlUp), _
scroll:=True
End With
End Sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

If you want to go to the cell below that (for the next entry?), use this line:

Application.Goto .Cells(.Rows.Count, "A").End(xlUp).offset(1,0), _
scroll:=True

Stephen wrote:

I have a condition when starting Excel (2002), instead of going to the last
used cell (when I saved and shutdown Excel), the sheet goes a cell halfway up
(it's the same cell every time). As the sheet grows, this becomes a nuisance.
Does anyone have an idea how to force Excel to go to last entered cell? I
tried a suggestion sometime ago, which involved entering a line of code into
an active cell, but this has not worked. Any suggestions would be greatly
appreciated :) (Excel novice BTW)
Thanks in advance.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i ensure people use the right date format in excel? lucyh Excel Worksheet Functions 3 March 28th 07 06:44 PM
Validation - Ensure Cell values match bluesifi Excel Discussion (Misc queries) 2 September 6th 06 10:00 AM
How do I ensure that the coments appear adjacent to the cell A.RAGHUNATH Excel Worksheet Functions 1 March 7th 06 12:35 PM
How can I ensure #records in a selected set always shows in Excel RangerBill Excel Discussion (Misc queries) 1 August 8th 05 08:14 PM
Ensure dates imported into Excel 2003 are shown in DD/MM/YYY form. KymY Excel Discussion (Misc queries) 3 February 11th 05 02:28 PM


All times are GMT +1. The time now is 05:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"