Good Morning,
I have a worksheet with values in the range A1:I3006. When I check the extremities of the worksheet (by pressing Cntl + End) the cursor moves to the cell at OYL10754.
Please will someone show me a way of limiting the extremities to the current range with values.
I have tried the usual Clear and ClearContents methods as in the procedure below but to no avail.
Any help will be much appreciated.
Rob.
I have a worksheet with values in the range A1:I3006. When I check the extremities of the worksheet (by pressing Cntl + End) the cursor moves to the cell at OYL10754.
Please will someone show me a way of limiting the extremities to the current range with values.
I have tried the usual Clear and ClearContents methods as in the procedure below but to no avail.
Code:
Sub Clear_contents()
Worksheets("Data Collection and Compilation").Range("k1:oyl10754").Clear
End Sub
Rob.