Consulting

Results 1 to 2 of 2

Thread: combo box -no edit

  1. #1

    combo box -no edit

    in VBA, i created a combo box with list of items i added in code. How do i prevent the user from changing the text in combo box?
    The user should only use the drop down list of combo box, w/ no editting allowed in the combo box.
    I thought there was property that can turn off the edit mode of a combo box.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Change the style property to 2 - Listbox.
    ____________________________________________
    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

Posting Permissions

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