I have the following code in a worksheet:
Is there any way of clearing the data in the range, but for it to not remove the Cell Borders?![]()
Sub CLEAR_DATA() Range("OT_Hours").Clear End Sub
I have the following code in a worksheet:
Is there any way of clearing the data in the range, but for it to not remove the Cell Borders?![]()
Sub CLEAR_DATA() Range("OT_Hours").Clear End Sub
Hi there,
Try:
![]()
Range("OT_Hours").ClearContents
Hope this helps.
Regards,
Greg M
Awesome. thank you
Unable to give you Rep for this.
Last edited by DarrylBurge; 04-08-2024 at 06:26 AM. Reason: Editing
Hi again,
Many thanks for your feedback.
No problem, thanks for trying!Unable to give you Rep for this.
Regards,
Greg M
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks