paulcherianc
Member
Macro should select all the cells in between the range ("B7:AH7") till the last used row.
But my macro is selecting till the end of the sheet even the blank cells.
Can anyone help me to fix this?
But my macro is selecting till the end of the sheet even the blank cells.
Can anyone help me to fix this?
Code:
Sub LastRowSelection()
Worksheets("Main Data").Select
Range("B7:AH7").Select
Range(Selection, Selection.End(xlDown)).Select
End Sub