Hello:
I want to select an entire row and I have already recorded a macro but the range will vary depending on the file:
How can I set a variable range from the selected rows instead of 73060:1048576?
Thanks!
I want to select an entire row and I have already recorded a macro but the range will vary depending on the file:
Code:
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Select
Range(Selection, Selection.End(xlDown)).Select
Rows("73060:1048576").Select
Selection.ClearContents
Range("A2").Select
End Sub
How can I set a variable range from the selected rows instead of 73060:1048576?
Thanks!