Question
December 4, 2007 at 08:06 AM
chibuikei

Using VBA to clear an Excel Worksheet AND restore as original

by chibuikei . Updated 18 years, 11 months ago

Hi I would like to use VBA to clear a worksheet and restore as to original state.

Sheet12.UsedRange.Clear

works but still the AutoFit I had done (programmatically) on the column earlier remains.

I would like to restore the cleared worksheet as though its a fresh one with absolutely no formatting (including AutoFit for the columns).

How do I do this?

This discussion is locked

All Comments