Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Why does Last Cell Reset to last cell available?

hi

i cannot see why this is doing this... any ideas would be greatfully
received.

the first time i run the code it gives me the correct number or rows,
using the

activesheet.usedrange.rows.count

2nd time i use it it counts all the rows in the sheet 65538 (or...)

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,117
Default Why does Last Cell Reset to last cell available?

maybe because the 1st time it runs, it has to check all the way down to
65538 in order to determine what is used (you may have lots of blank
rows & then something on row 20000), which then sets the whole
spreadsheet as "used".
imho
susan


Buffyslay wrote:
hi

i cannot see why this is doing this... any ideas would be greatfully
received.

the first time i run the code it gives me the correct number or rows,
using the

activesheet.usedrange.rows.count

2nd time i use it it counts all the rows in the sheet 65538 (or...)


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
Reset figure in a cell to 1 Bob Excel Discussion (Misc queries) 7 June 1st 09 10:19 PM
Set cell to record date when adjacent cell is filled AND NOT RESET The new guy Excel Worksheet Functions 3 February 26th 07 06:11 PM
Way to reset the last cell to be EOF Mary Barnich-Tampa Excel Discussion (Misc queries) 2 June 19th 06 06:02 PM
how do you reset your arrow keys to move cell to cell? Marchelle New Users to Excel 1 May 13th 05 10:37 PM
how to reset a value in a cell after another Mondy Excel Programming 5 February 12th 05 12:53 PM


All times are GMT +1. The time now is 02:46 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"