T Tim Coddington Nov 2, 2004 #1 What is the best way to collect the first and last row numbers of a currently selected area of a spreadsheet?
What is the best way to collect the first and last row numbers of a currently selected area of a spreadsheet?
T Tom Ogilvy Nov 2, 2004 #2 If selection.Areas.count = 1 then firstRow = selection(1).Row lastRow = selection(selection.count).row End if
If selection.Areas.count = 1 then firstRow = selection(1).Row lastRow = selection(selection.count).row End if
T Tim Coddington Nov 2, 2004 #3 Thanks, Tom If selection.Areas.count = 1 then firstRow = selection(1).Row lastRow = selection(selection.count).row End if Click to expand...
Thanks, Tom If selection.Areas.count = 1 then firstRow = selection(1).Row lastRow = selection(selection.count).row End if Click to expand...