LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 106
Default CheckBox / Linked Cell Problem

Hello,

I have Check Boxes (from the Control Toobox toolbar) in my worksheet. Some
of these are linked to cells so that I can write IF statements to see the
status of True or False.

My problem is that when the users click the Clear Form command button, the
tick marks are cleared from all check boxes, except for those that are linked
to a cell. Those ones have the grayed out ticked mark, even though the
Triple State property is False. Here is the part of the code that clears the
check boxes:

'Clear check boxes
With ActiveSheet
For Each Ctrl In .OLEObjects
If TypeName(Ctrl.Object) = "CheckBox" Then
Ctrl.Object.Value = False
End If
Next Ctrl
End With


Thanks.

 
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
font color with checkbox linked cel Robbie Doo Excel Discussion (Misc queries) 0 January 28th 10 05:13 PM
Checkbox name linked to a cell Tdp Excel Discussion (Misc queries) 5 October 23rd 08 04:33 PM
Problem when Combo box has linked cell as a number caroline Excel Programming 4 August 1st 08 02:59 PM
checkbox linked to a cell Greg[_34_] Excel Programming 1 November 8th 06 10:02 PM
spinner linked cell problem jim Excel Discussion (Misc queries) 2 July 22nd 05 04:08 PM


All times are GMT +1. The time now is 09:05 AM.

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

About Us

"It's about Microsoft Excel"