Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Inserted from forms toolbar
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i change the value of a cell with a checkbox | Excel Worksheet Functions | |||
checkbox value change | Excel Programming | |||
Using a checkbox to change a formula | Excel Programming | |||
How do I change the appearance of a checkbox | Excel Discussion (Misc queries) | |||
CheckBox Change Event | Excel Programming |