additem for 3 ComboBoxs
Prep for a pre-employment Excel test with Job Test Prep
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: additem for 3 ComboBoxs

  1. #1
    Guest

    Default

     
    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. #2
    New Member
    Join Date
    Mar 2002
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Maybe try ActiveSheet.Shapes("ComboBox " & i) ...

  3. #3
    Guest

    Default

      
    It's show Runtime-time error 424. Anybody have other idea ?

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com