SanAntonioSpurFan
Instructor
I have this simple procedure that is performed each time a option button is selected. It runs fast "no wait time" when a user selects different options buttons. Once the user clicks File/Print or Print Preview in Excel, the procedure boggs downs. It takes like 15 seconds to run everytime a option button is clicked. Does anyone have any suggestions to improve performance after print or print preview? If you close the file and re-open, the procedure is fast again.
Sub RowHeightBS()
For I = 8 To 207
If (Cells(I, 3) = 0) Then
Rows(I).RowHeight = 0
Else
Rows(I).RowHeight = 15
End If
Next I
End Sub
Sub RowHeightBS()
For I = 8 To 207
If (Cells(I, 3) = 0) Then
Rows(I).RowHeight = 0
Else
Rows(I).RowHeight = 15
End If
Next I
End Sub