The Wingdings font has a nice checkbox, character 111, and with a check mark it is character 254.
So you could format the cell font as Wingdings, and then use something like:
[tt]=IF(TRUE,CHAR(254),CHAR(111))[/tt]
Cheers,
Joerd
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
I think the Forms toolbox is the one you want to get the checkbox from. The one in the Control toolbox won't let me link it to a cell. The FORMS toolbox though, it works like a champ... just right click the checkbox once you draw it in and select Format Control at the bottom of the pop-up menu, then the Control Tab and you'll see the Cell Link box.
Main reason not to use the Forms toolbox is that it is only maintained for compatibility. Good chance that MS will ditch it fairly soon. Also, the items in the Controls toolbox give you more functionality and a complete set of event handlers.
Read more at Jon Peltier's blog (highly recommended anyway)
You can set the LinkedCell property of the control to any cell address, and it will give you the functionality you want.
Cheers,
Joerd
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
I still don't get the Control Toolbox version. :shrug:
I found the properties box and typed in a cell for it to link (don't seem to be able to just pick a cell like with the Forms version), but the silly check box won't allow me to check/uncheck. Whenever I click it, it just lights up the corner "handle boxes" and gives me the 4-point Move Curor. I can resize and move, but not select.
If I double click, it opens a VBA module for me. Nice... I don't need/want VBA, I just want a checkbox linked to a particular cell for True/False.
Same for ComboBox... simple to use with Forms. Unusable with Controls. I can draw it and fill in LinkedCell & ListFillRange (I assume that's InputCellRange), but clicking the button after that just lets me stretch &/or move the combobox. Not much utility in that.
Could it be something to do with being stuck using Excel 2000? Or is there some other secret switch I haven't thrown?
OH, I found the secret button... you have to UNclick the Design mode button before the object becomes active.
Now I see a difference in the ComboBox tool... The forms version enters a sequential number in the linked cell, the controls version enters a copy of the item selected. I'm guessing there is a setting to fix that as well, but I haven't stumbled on it yet.
At least I won't be completely in the dark now if the Forms Toolbox dries up and goes away.
Thank you for response everyone. I guess it was not excel after all but quatro pro where cell could be formatted and function as a check box. In a relatively large table of changeable size true check boxes (from form or tools toolbars) do not appeal.