Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I would like to know the best way of find the row number of the last row
containg data in a worksheet. Searching through newsgroups and web sites I found the first option (which is commented out below) but this is column specific i.e. it only works if the last used cell in the worksheet is in column A. My latest effort is the LROW line without the comment - but is this the best or does anyone know a better or more efficient way? Function LROW() As Long ' Returns the row number of the last row containing a non-blank entry in a worksheet Application.Volatile ' LROW = Range("a65536").End(xlUp).Row LROW = Application.Caller.Parent.UsedRange.Rows.Count End Function -- Brian Pollard -- |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
find a number broken into more than one number | Excel Discussion (Misc queries) | |||
countif formula to find the occurances of a number that is greater than one number but less than another | Excel Discussion (Misc queries) | |||
Despite data existing in Excel 2002 spreadsheet Find doesn't find | Excel Discussion (Misc queries) | |||
How do I find the total number of the same number/letter in a row | Excel Discussion (Misc queries) | |||
FIND DATA WITHIN DATA (V-OR-H LOOKUP/FIND/MATCH?) | Excel Worksheet Functions |