Macro to delete 0
With Activecell
If .Value = 0 Then
Range("C" & .Row & ":Y" & .Row"").Replace What:="0", _
Replacement:="", _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
MatchCase:=False
End If
End WIth
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"Hargrove" wrote in message
...
Is it possible to record something along the lines of
If Active.Cell = 0, then delete all 0s in column C - Y (for that same row
only)
The active cell would always be in column b
|