Thursday, February 20, 2020

How to clear Excel using VBA

   

 Please paste these lines in VBA macro.
    Sheets("Sheet1").Cells.Select
    Selection.ClearContents
    Selection.ClearFormats
    Selection.Clear

No comments:

Post a Comment