Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 159
Default Help with checkbox code

I am not sure how to create this. I am using Excel 2003. I have 3 checkboxes
on a user form and I would like that when the user checks which ever box and
clicks the add button it will return to the worksheet a value of YES and
vise-versa if they are not checked it will return a value of NO to the
approiate column,cell.When the add button is clicked.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Help with checkbox code

In the userform module-

Private Sub CheckBox1_Change()
ActiveSheet.Range("A1").Value = IIf(Me.CheckBox1.Value, "Yes", "No")
End Sub

Regards,
Peter T


"Mekinnik" wrote in message
...
I am not sure how to create this. I am using Excel 2003. I have 3

checkboxes
on a user form and I would like that when the user checks which ever box

and
clicks the add button it will return to the worksheet a value of YES and
vise-versa if they are not checked it will return a value of NO to the
approiate column,cell.When the add button is clicked.



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
Simple Checkbox Message Code nemadrias Excel Discussion (Misc queries) 10 June 21st 06 08:59 PM
help in checkbox code Soniya[_4_] Excel Programming 1 April 24th 05 01:49 PM
Using a macro to code a checkbox on click - Help Rog[_3_] Excel Programming 1 October 25th 04 07:16 PM
A VBA code that clicks a checkbox nevaspb Excel Programming 2 August 19th 04 03:55 AM
Checkbox Code Edwin Tam[_2_] Excel Programming 0 January 14th 04 02:26 AM


All times are GMT +1. The time now is 07:30 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"