View Single Post
 
Old 06-23-2014, 05:07 AM
barryoffshore barryoffshore is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Jun 2014
Posts: 4
barryoffshore is on a distinguished road
Default

This is the VBA code I used and it worked great! Of course I had to change a little of the wording to match my sheet.

Private Sub CheckBox1_Click()
Dim check As OLEObject
Set check = Sheets("FEBRUARY").OLEObjects("CheckBox1")
If check.Object Then
Rows("34:34").EntireRow.Hidden = False
Else
Rows("34:34").EntireRow.Hidden = True
End If
End Sub
Reply With Quote