#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default check box

hi all !

i am trying to place some check boxes on a sheet and i want the
ckeckbox to place text into a field if the checkbox is ticked.
also i would like to use option buttons if i could.
i needed to be able to place some code in the check boxes, i tried but
it didnt work.
how would you do this ???

thanks
brino

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default check box

Just drag an optionbutton off of the forms toolbar, and you can assign a
macro by right-clicking and select from the menu.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"brino" wrote in message
oups.com...
hi all !

i am trying to place some check boxes on a sheet and i want the
ckeckbox to place text into a field if the checkbox is ticked.
also i would like to use option buttons if i could.
i needed to be able to place some code in the check boxes, i tried but
it didnt work.
how would you do this ???

thanks
brino



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default check box


Bob Phillips wrote:

Just drag an optionbutton off of the forms toolbar, and you can assign a
macro by right-clicking and select from the menu.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"brino" wrote in message
oups.com...
hi all !

i am trying to place some check boxes on a sheet and i want the
ckeckbox to place text into a field if the checkbox is ticked.
also i would like to use option buttons if i could.
i needed to be able to place some code in the check boxes, i tried but
it didnt work.
how would you do this ???

thanks
brino


To put text in a cell if the text box is ticked, Right click on the
Checkbox and go to format control. Tick checked and give it an output
cell anywhere on sheet or on another sheet if you like. Now in the cell
that you want the text to appear type :

=IF(G1022 = TRUE,"Text like this","")

The G1022 is your Checkbox output cell reference and the "Text like
this" is the text you want to appear.

As for assigning macros to the checkbox, pick assign macro when you
right click on it. When you do it this way and you put your code in the
window that appears, the default macro is _Click () so this macro will
run everytime you check or uncheck the box, unless you put provisions
in your macro for that.

Stopher

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
make a check form, and then have info go to a check register richie g Excel Worksheet Functions 0 May 5th 10 12:10 AM
Copy and move check box (check boxes) with new cell link? Marty Excel Worksheet Functions 1 January 20th 10 07:43 PM
Increase size of a Forms Check Box (click on to enter check mark) 718Satoshi Excel Discussion (Misc queries) 0 August 17th 07 01:52 AM
Check if Conditional Format is True or False / Check cell Color Kevin McCartney Excel Worksheet Functions 5 June 29th 07 11:12 AM
Enable check box in protected sheet + group check boxes Dexxterr Excel Discussion (Misc queries) 4 August 2nd 06 12:00 PM


All times are GMT +1. The time now is 05:26 PM.

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"