Hi,
If you going to do that why not simply delete the workbook. But if you want
another method use this. BEWARE it will delete everything so make sure thats
what you want. Alt+Fll to open Vb editor. Right click a worksheet tab, view
code and psate this in.
Sub clearall()
Dim ws As Worksheet
For x = 1 To ThisWorkbook.Worksheets.Count
Worksheets(x).UsedRange.ClearContents
Next
End Sub
Mike
"(E-Mail Removed)" wrote:
> How would I clear the contents of all Sheets in my file? I can record
> a macro that will clear the contents of a specific, but I have
> multiple sheets and was wondering if there is a nice easy way
>
> Newbie here
>
> Thanks
>
> Timmie
>
|