Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 425
Default Checkbox Name Change?

I have a long list of words of which I would like to use as checkbox
names. Instead of the name "checkbox 1", "checkbox 2", etc... Is there
any way I can automatically change these names to the words in my
list? (without having to go through edit text / or click on each
individual name)

Looking for the quickest way to get this done.

Thanx.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Checkbox Name Change?

Are your checkboxes from the forms toolbar or from the control toolbox?
--
HTH...

Jim Thomlinson


"J.W. Aldridge" wrote:

I have a long list of words of which I would like to use as checkbox
names. Instead of the name "checkbox 1", "checkbox 2", etc... Is there
any way I can automatically change these names to the words in my
list? (without having to go through edit text / or click on each
individual name)

Looking for the quickest way to get this done.

Thanx.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Checkbox Name Change?

A simple two namer,

Sub ChangeNames()
Dim cb As Object
Dim i As Long
Dim aryNames

aryNames = Array("Domestic", "Commercial")
For Each cb In ActiveSheet.CheckBoxes
cb.Caption = aryNames(i)
i = i + 1
Next cb
End Sub


extend as required.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"J.W. Aldridge" wrote in message
ups.com...
I have a long list of words of which I would like to use as checkbox
names. Instead of the name "checkbox 1", "checkbox 2", etc... Is there
any way I can automatically change these names to the words in my
list? (without having to go through edit text / or click on each
individual name)

Looking for the quickest way to get this done.

Thanx.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 425
Default Checkbox Name Change?

Inserted from forms toolbar


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 do i change the value of a cell with a checkbox Rollie13 Excel Worksheet Functions 3 November 24th 06 11:47 PM
checkbox value change pv78 Excel Programming 4 August 16th 06 04:49 PM
Using a checkbox to change a formula Giselle[_2_] Excel Programming 1 March 14th 06 12:59 AM
How do I change the appearance of a checkbox Christine Excel Discussion (Misc queries) 2 February 23rd 06 08:43 PM
CheckBox Change Event Soniya[_4_] Excel Programming 2 April 26th 05 02:18 PM


All times are GMT +1. The time now is 11:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"