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

hello all,

I have a quick question....i'm sure this can be done, but I have yet to
figure it out. I need to create a macro that takes checkbox1 and
inserts a "1" into a cell, if the box is checked, otherwise it will
enter a "0" into the cell. Does anyone know how to create this?
Thanks in advance for the help!!


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default checkbox help

If the checkbox is added to the worksheet then use the Linked Cell property,
if the checkbox is on a userform use the Control Source property.

In both cases enter the cell reference into the properties options.

Cheers
Nigel

"dok112 " wrote in message
...
hello all,

I have a quick question....i'm sure this can be done, but I have yet to
figure it out. I need to create a macro that takes checkbox1 and
inserts a "1" into a cell, if the box is checked, otherwise it will
enter a "0" into the cell. Does anyone know how to create this?
Thanks in advance for the help!!


---
Message posted from http://www.ExcelForum.com/



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
checkbox jeradora Excel Worksheet Functions 1 December 8th 09 06:30 PM
checkbox Jean-Paul Excel Discussion (Misc queries) 0 April 29th 08 02:20 PM
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM
checkbox helpless101 Excel Worksheet Functions 0 April 10th 06 11:52 AM
Checkbox value Todd Huttenstine Excel Programming 1 February 10th 04 10:09 PM


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