Thursday, February 20, 2020

How to clear Chart in Excel using VBA

 Please paste these lines in VBA macro.

    Dim chtObj As ChartObject
    For Each chtObj In ActiveSheet.ChartObjects
    chtObj.Delete
    Next

No comments:

Post a Comment