VBA: Count the rows in a Selection
If you ever need to count the number of rows that were selected, use Selection.Rows.Count
Put this in a module:
Public Sub CountMyRows() MsgBox Selection.Rows.Count End Sub
Can't get the tutorial to work for you? Need help with your code?
Get answers right away at our AE Excel Support Forums!
Get answers right away at our AE Excel Support Forums!
Leave a comment
| Trackback


