Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all.
I'm trying to find the code for obtaining the row number of the last cell with data in a spreadsheet. This is probably an easy one. I don't see any posts jumping out at me about it though. -- Sue Programmer/Data Analyst Minnesota |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Test()
lRow = ActiveSheet.Cells(Rows.Count, 1).End(xlUp).Row MsgBox lRow End Sub -- Dan |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, Dan!
-- Sue Programmer/Data Analyst Minnesota |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
See
http://www.rondebruin.nl/last.htm -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Sue" wrote in message ... Hi all. I'm trying to find the code for obtaining the row number of the last cell with data in a spreadsheet. This is probably an easy one. I don't see any posts jumping out at me about it though. -- Sue Programmer/Data Analyst Minnesota |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, Ron! Nice website!
-- Sue Programmer/Data Analyst Minnesota |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
enter data in 1 cell and produce a number in another cell | Excel Worksheet Functions | |||
Extracting the data according to the number of cell | New Users to Excel | |||
how to find number in a cell , a cell contains character data ornumeric data | Excel Worksheet Functions | |||
how do i use the data in one cell as the row number of another cel | Excel Discussion (Misc queries) | |||
inserting data from a row to a cell, when the row number is specified by a formula in a cell | New Users to Excel |