Basic VB Code Needed - HELP, Gurus!
Upcoming Power Excel Seminars
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Basic VB Code Needed - HELP, Gurus!

  1. #1
    New Member
    Join Date
    Apr 2002
    Location
    Everywhere
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I'm working in Excel 97.

    I just need to know the CODE to type in order to format my drop-down list box.

    When I get to Visual Basic, it's ready for me to enter CODE into the following:

    Private Sub ComboBox1_Change()

    (I guess I enter some stuff here?)

    End Sub

    When the drop-down arrow is pressed, I want the box to read:

    Michael
    38
    17%

    Can anyone help me? I really appreciate your taking the time.


  2. #2
    MrExcel MVP Al Chara's Avatar
    Join Date
    Feb 2002
    Location
    Newark, Delaware
    Posts
    1,701
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    You have to edit your ListFillRange.

    Go into design mode and right click on your combobox and goto properties. If you data is in Cells A1:A3 then next to the ListFillRange box enter in A1:A3.
    Best regards,
    Allan Chara
    http://www.mrspreadsheets.com

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