#1   Report Post  
Posted to microsoft.public.excel.misc
carrietimeless
 
Posts: n/a
Default Opening in Same Cell

How do I make my worksheet open in the next row available? I have a 3000+
row file and every time I open it, it reverts to row 2926.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Opening in Same Cell

Without any macro help, the workbook should open in the same location that it
was last saved.

But with macro help, you can make it do what you want:

Option Explicit
sub Auto_Open()
dim NextCell as range
with worksheets("sheet99")
set nextcell = .cells(.rows.count,"A").end(xlup).offset(1,0)
end with
application.goto nextcell, scroll:=true
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

I used sheet99 and the bottom of column A. Change these to what you want.

carrietimeless wrote:

How do I make my worksheet open in the next row available? I have a 3000+
row file and every time I open it, it reverts to row 2926.


--

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
Active Cell when opening workbook mwclark0807 Excel Worksheet Functions 3 January 5th 06 04:38 AM
Dates of a Day for a month & year cell formulas mikeburg Excel Discussion (Misc queries) 2 December 29th 05 10:14 PM
How to Copy the value of a cell to any given cell Memphis Excel Discussion (Misc queries) 4 October 21st 05 08:29 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 02:36 AM.

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

About Us

"It's about Microsoft Excel"