Hi,

What I want to do is to hide all row that are NOT bold or empty.
My range starts at row 12 and I don't know at witch row it finishes. I know that it finishes with the text GRAND TOTAL in column A and there is approx. 600 rows. I want this job to be performed when the button is clicked

So here is what I've done
VB Code:
  1. Private Sub CommandButton1_Click()
  2.     Application.ScreenUpdating = False
  3.     ActiveSheet.Range("A12").Activate
  4.     Do While (ActiveCell.Value <> "GRAND TOTAL")
  5.         If (ActiveCell.Font.Bold = False Or ActiveCell.Value = "") Then
  6.             ActiveCell.EntireRow.Hidden = True
  7.         End If
  8.         ActiveCell.Offset(1, 0).Activate
  9.     Loop
  10.     Application.ScreenUpdating = True
  11. End Sub

This loop does all I want, but it takes 45 to 60 sec to accomplish. That is way too long.

Any idea?