Macro Excel Checkbox Hide Column in Sheet?
March 18th, 2010formular to hide row
Sub hiderow()
If Rows("5").RowHeight = 0 Then
Rows("5").Hidden = False
Else
Rows("5").Hidden = True
End If
End Sub '1
i want to hide only column AQ:DK
please help
thank you advance
Put the following code in the Sheet module where the checkbox is located
Private Sub CheckBox1_Click()
   If CheckBox1.Value = False Then
      Columns("AQ:DK").Hidden = False
   Else
      Columns("AQ:DK").Hidden = True
   End If
End Sub
Please contact for more details
#If you have any other info about this subject , Please add it free.# |