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: 4
Default CheckBox Value


Try this:

If CheckBox1.Value Then
mg(1,3).Value = "X"
End If

Patrick Simonds wrote:
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
using a checkbox (or something) jsc3489 Excel Worksheet Functions 1 August 4th 05 09:54 PM
For each Checkbox teresa Excel Programming 4 February 4th 05 01:45 AM
Help w/ CheckBox ????? nrage21[_63_] Excel Programming 4 September 16th 04 04:21 PM
CheckBox in VBA Stephane[_3_] Excel Programming 2 April 20th 04 09:28 PM


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