![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I try to add item for 3 comboBoxs and I want to use For .....Next to make it Short , I used the follow command but it not work . Can anybody give me some Suggestion ?
For i = 1 to 3 With ActiveSheet.Shapes(ComboBox i ).Select .Additem "A" .Additem "B" ............... .............. .............. End with Next i |
|
|
|
#2 |
|
New Member
Join Date: Mar 2002
Posts: 32
|
Maybe try ActiveSheet.Shapes("ComboBox " & i) ...
|
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
It's show Runtime-time error 424. Anybody have other idea ?
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|