VBA Macro to Clear Contents, Formats of an Active WorkSheet
Example-I:
Sub Clear_Contents()
'Removes only the cell contents
Example-I:
Sub Clear_Contents()
'Removes only the cell contents
Range("A1:Z1000").ClearContents
End Sub
----------------------------------------------------------
Example-II:
Example-II:
Sub Clear_All()
'To Remove cell contents & their formats
'To Remove cell contents & their formats
Range("A1:Z1000").Clear
End Sub
Thanks,Tamatam
Thanks,Tamatam
No comments:
Post a Comment
Hi User, Thank You for visiting My Blog. If you wish, please share your genuine Feedback or comments only related to this Blog Posts. It is my humble request that, please do not post any Spam comments or Advertising kind of comments, which will be Ignored.