Using Excel 2000 I have recorded a macro to display a chart using data from the spreadsheet. No problem - all works OK. However I want to have another macro to remove the chart. I have tried using "Delete" and also "Clear" and then "All". Both come up with "Run time error 91". Trying to debug, Visual Basic comes up with
ActiveWindow.Visible=False
Selection.Delete
EndSub
I lost all the worksheet the first time - thank goodness I had a backup.
Any help would be appreciated
Chris559
ActiveWindow.Visible=False
Selection.Delete
EndSub
I lost all the worksheet the first time - thank goodness I had a backup.
Any help would be appreciated
Chris559