PC Review


Reply
Thread Tools Rate Thread

checkbox property

 
 
ranswert
Guest
Posts: n/a
 
      28th Jan 2008
How do I write a procedure that selects a checkbox within a range of cells so
that I can change the cell that it is linked to and also change the name?
Thanks
 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      28th Jan 2008
I copied this from the VBA help file.

This example adds a check box to worksheet one and links the check box value
to cell A1.

With Worksheets(1)
Set cb = .Shapes.AddFormControl(xlCheckBox, 10, 10, 100, 10)
cb.ControlFormat.LinkedCell = "A1"
End With



"ranswert" wrote:

> How do I write a procedure that selects a checkbox within a range of cells so
> that I can change the cell that it is linked to and also change the name?
> Thanks

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
checkbox tag property stan Microsoft Access Forms 1 16th Jan 2010 07:05 PM
custom property for checkbox Rick Microsoft Dot NET 6 12th Jul 2007 02:57 PM
Checkbox Text property not using new value. Gavin Sullivan Microsoft Dot NET Framework Forms 1 30th Jan 2007 03:40 PM
Checkbox Visible Property Jason Microsoft Access Forms 4 29th Apr 2005 03:08 PM
checkbox property dave Microsoft Access Form Coding 1 11th Jan 2005 11:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:09 PM.