#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Uncheck a box

Hi,

I want to uncheck the check box that exists a tab called "Quiz" once i
open the excel sheet,is it possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Uncheck a box

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Uncheck a box

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Uncheck a box

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Uncheck a box

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
hiding data series with check/uncheck boxes BigSmile Mannequins Inc. Charts and Charting in Excel 1 November 11th 06 10:24 AM
Uncheck check boxes Brisbane Rob Excel Discussion (Misc queries) 3 February 15th 06 07:08 PM
How can I insert a box that lets me check and uncheck it in Excel The Lone Ranger Excel Discussion (Misc queries) 1 January 28th 06 02:58 PM
Excel won't let me uncheck Size with Window EMosey Charts and Charting in Excel 2 October 24th 05 09:49 PM
Check / Uncheck Box Navy Chief Setting up and Configuration of Excel 1 October 3rd 05 01:54 AM


All times are GMT +1. The time now is 06:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"