Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    May 2009
    Posts
    84
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have a simple combo box on a dialog box. How do I replace each drop-down value below with a short text string? For example, if "Red" was selected, "The car was red." is placed at a bookmark in the document. If "Blue" selected, "The car was blue." is placed in the document.

    Public Sub UserForm_Initialize()

    cboEmployee.AddItem "Red"
    cboEmployee.AddItem "Blue"

    End Sub

    Thanks,
    Charlie
    charlie6067

  2. #2
    Star Lounger
    Join Date
    May 2009
    Posts
    84
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I had meant to post this in the VBA group - sorry for the extra post

    Charlie
    charlie6067

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts
    Thread locked, refer to post in VBA forum - Post 822990
    Andrew Lockton, Chrysalis Design, Melbourne Australia

Posting Permissions

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