Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I want to uncheck the check box that exists a tab called "Quiz" once i open the excel sheet,is it possible? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Private Sub Workbook_Open()
Worksheets("Quiz").CheckBoxes("Check Box 1").Value = False End Sub 'This is workbook event code. 'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Pietro" wrote in message ... Hi, I want to uncheck the check box that exists a tab called "Quiz" once i open the excel sheet,is it possible? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you,
I tried the code but it gave me an error (RunTime error:1004 Unable to get the Checkboxes property of the Woeksheet class) "Bob Phillips" wrote: Private Sub Workbook_Open() Worksheets("Quiz").CheckBoxes("Check Box 1").Value = False End Sub 'This is workbook event code. 'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Pietro" wrote in message ... Hi, I want to uncheck the check box that exists a tab called "Quiz" once i open the excel sheet,is it possible? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Must be an Activex checkbox then, so try
Private Sub Workbook_Open() Worksheets("Quiz").OLEObjects("CheckBox1").Object. Value = False End Sub -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Pietro" wrote in message ... Thank you, I tried the code but it gave me an error (RunTime error:1004 Unable to get the Checkboxes property of the Woeksheet class) "Bob Phillips" wrote: Private Sub Workbook_Open() Worksheets("Quiz").CheckBoxes("Check Box 1").Value = False End Sub 'This is workbook event code. 'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Pietro" wrote in message ... Hi, I want to uncheck the check box that exists a tab called "Quiz" once i open the excel sheet,is it possible? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanx alot,it works now
"Bob Phillips" wrote: Must be an Activex checkbox then, so try Private Sub Workbook_Open() Worksheets("Quiz").OLEObjects("CheckBox1").Object. Value = False End Sub -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Pietro" wrote in message ... Thank you, I tried the code but it gave me an error (RunTime error:1004 Unable to get the Checkboxes property of the Woeksheet class) "Bob Phillips" wrote: Private Sub Workbook_Open() Worksheets("Quiz").CheckBoxes("Check Box 1").Value = False End Sub 'This is workbook event code. 'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Pietro" wrote in message ... Hi, I want to uncheck the check box that exists a tab called "Quiz" once i open the excel sheet,is it possible? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
hiding data series with check/uncheck boxes | Charts and Charting in Excel | |||
Uncheck check boxes | Excel Discussion (Misc queries) | |||
How can I insert a box that lets me check and uncheck it in Excel | Excel Discussion (Misc queries) | |||
Excel won't let me uncheck Size with Window | Charts and Charting in Excel | |||
Check / Uncheck Box | Setting up and Configuration of Excel |