Loop through all used range : UsedRange « Access « VBA / Excel / Access / Word
- VBA / Excel / Access / Word
- Access
- UsedRange
Loop through all used range
Sub ResetTest4()
For Each n In ActiveSheet.UsedRange
If n.Value <> 0 Then
n.Value = 0
End If
Next n
End Sub
Related examples in the same category