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

The code below enters True when the CheckBox is checked, and False when it
is not. Is there any way to have it place an X when the checkbox is checked
and nothing when it is not checked?

rng(1, 3).Value = CheckBox1.Value


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default CheckBox Value

Try something like this:

If CheckBox1.Value = True then
rng(1, 3)="X"
else rng(1,3).clearcontents
end if

--
steveB

Remove "AYN" from email to respond
"Patrick Simonds" wrote in message
...
The code below enters True when the CheckBox is checked, and False when it
is not. Is there any way to have it place an X when the checkbox is
checked
and nothing when it is not checked?

rng(1, 3).Value = CheckBox1.Value




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
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM
checkbox Chas Excel Worksheet Functions 2 May 13th 05 10:37 PM
Checkbox Susan Hayes Excel Programming 1 March 31st 05 11:42 PM
checkbox help dok112[_25_] Excel Programming 1 August 12th 04 06:59 AM
checkbox mark Excel Programming 1 August 1st 03 09:47 PM


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