View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jarek Kujawa[_2_] Jarek Kujawa[_2_] is offline
external usenet poster
 
Posts: 896
Default Auto-Hide Rows Macro

select yr data and use this macro

Sub hideem()
For Each cell in Selection
If cell.Value = "n/a" Then
cell.Rows.Entirerow.Hidden = True
End if
Next cell
End Sub