Consulting

Results 1 to 3 of 3

Thread: Solved: Displa first item in combo box

  1. #1

    Solved: Displa first item in combo box

    Hi All,

    I have this code in the frmActivate module and would like to display the first item when I call the form. The combo box properties is set to "fmStyleDropDownList" with "fmMatchEntryFirstLetter". Can someone assist.

    [VBA]Me.cboDec.List = Array("Standard M&IE Rates", "Transportation Rates")
    [/VBA]

    thank you

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    [vba]

    Me.cboDec.ListIndex = 0
    [/vba]
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Thank you XLD.

Posting Permissions

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