reset a range of cells to zero

J

Jen

I want a macro in Excel to reset a range of cells to zero, can anyone help me
please
 
J

Jim Thomlinson

Here are 2 ways depending on if you want to reset the active sheet or a
specific sheet...

Public Sub ResetZero()
ActiveSheet.Range("A1:A10").Value = 0
Sheets("Sheet3").Range("A1:A10").Value = 0
End Sub
 
Top