Hello,
I am trying to write a code that:
Looks at cells in column A from rows 9:100
-If a cell does not have an integer then that cells entire row is to be hidden.
This is what I have so far. Thank you.
I am trying to write a code that:
Looks at cells in column A from rows 9:100
-If a cell does not have an integer then that cells entire row is to be hidden.
This is what I have so far. Thank you.
VBA Code:
Private Sub CommandButton7_Click() '''''''''''''''''''''' Question Rollup
Dim x As Variant
For x = 9 To 100
If Cells(X,1)="" Then
Cells(X,1).hidden =true
Next X
End Sub