berty2000
Board Regular
- Joined
- Mar 29, 2011
- Messages
- 71
Need to search down rows in range B5:M6000 to find the last row with data in then select the next row down from column B to M and colour yellow.
Seems simple but cant seem to get result
Seems simple but cant seem to get result
Code:
Sub test()
' Select the range: Last row - Last Column
Range("B5:M6000").Select
Cells(Application.Rows.Count, 1).End(xlUp).Offset(1, 0).Select
End Sub