LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Grd Grd is offline
external usenet poster
 
Posts: 118
Default How to find the number of used rows in a spreadsheet?

Hi,

I have a FOR NEXT loop that runs for each row in a sheet. However the number
of rows changes so I keep having to go in and type the new number for eg if
there are 80 rows I type

For i =1 to 80

Is there a way of substituting the 80 dynamically so excel knows how many
rows there are on a spreadsheet.

This would help me out greatly.

Thanks for any help

Sandra
 
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
sum the number of rows in a spreadsheet given 2 criteria??? Hank01061567 Excel Discussion (Misc queries) 3 November 13th 09 12:11 AM
Need to find all instances of a ticket number in a spreadsheet DebraR Excel Worksheet Functions 3 January 3rd 09 05:40 AM
How to number lines (rows) on both sides of spreadsheet crb.e4xplor Excel Worksheet Functions 6 April 7th 07 01:00 PM
What is the maximum number of rows in an Excel spreadsheet ? Larry Liu Excel Discussion (Misc queries) 5 September 20th 05 06:06 PM
number of rows in spreadsheet seeker52 Excel Programming 1 February 22nd 04 05:02 PM


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

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"