A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
i assume that your data are from A1 down and to the right
try this code...
Sub Zeros3()
Dim r, c As Long
Dim myR As Range
Application.ScreenUpdating = False
r = ActiveSheet.Cells.Find(What:="*", SearchOrder:=xlByRows, _
SearchDirection:=xlPrevious).Row
c = ActiveSheet.Cells.Find(What:="*", SearchOrder:=xlByColumns, _
SearchDirection:=xlPrevious).Column
For i = 1 To r
s = "'"
For j = 1 To c
If IsEmpty(Cells(i, j)) Then s = s + "#" Else s = s & Cells(i, j)
Next j
Cells(i, c + 1) = s
Next i
For i = r To 1 Step -1
Set myR = Cells.Find(What:="000", LookIn:=xlValues, LookAt:=xlPart)
If Not myR Is Nothing Then myR.EntireRow.Hidden = True
Next i
Range(Cells(1, c + 1), Cells(r, c + 1)).Clear
Application.ScreenUpdating = True
End Sub