Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Find the row of all cells in a selection
If I select a block of cells, C14:F19
- and then run a subroutine: msgbox selection.row -That would read 14, the first row in the selection. but how can I obtain the last row in the selection? ................... Thanks Tony |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Find the row of all cells in a selection
And another:
Selection(Selection.Rows.Count, 1).Row Alan Beban J.E. McGimpsey wrote: One way: With Selection MsgBox .Item(.Count).Row End With another: With Selection MsgBox .Row + .Rows.Count - 1 End With In article , (TonyJeffs) wrote: If I select a block of cells, C14:F19 - and then run a subroutine: msgbox selection.row -That would read 14, the first row in the selection. but how can I obtain the last row in the selection? .................. Thanks Tony |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I find the series selection tab? | Charts and Charting in Excel | |||
how do I find and replace within a selection in Excel 2007? | Excel Discussion (Misc queries) | |||
Find Selection Changing increase contrast | Excel Discussion (Misc queries) | |||
Is there a formula to find one phrase in a selection? | Excel Discussion (Misc queries) | |||
Find and REPLACE within a selection, or column- not entire sheet/. | Excel Worksheet Functions |