Kapuls,
[VBA]
Columns(1).Replace What:="0", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
[/VBA]
It only works for column A. I changed Columns(1) to Columns(11) hoping that it will replace "0" with " " and it only worked on column 11. then I changed it to Column(1:11) and the compiler got mad. How can I make it work for columns 1:11 without repeating it 11 times.
Mark,
Does that code work for you? It hides all the rows in that test spreadsheet. go figure.