Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. HELP!!!! ComboBox

HELP!!!! ComboBox

Scheduled Pinned Locked Moved Visual Basic
helpquestionc++
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MFC is the Best
    wrote on last edited by
    #1

    Hello! I want to programm a ComboBox in Excel. My problem: How can I get a text in the dropdown-list from the ComboBox ????? MFC is the Best

    S 1 Reply Last reply
    0
    • M MFC is the Best

      Hello! I want to programm a ComboBox in Excel. My problem: How can I get a text in the dropdown-list from the ComboBox ????? MFC is the Best

      S Offline
      S Offline
      SHaroz
      wrote on last edited by
      #2

      try this: Dim myCB As CommandBarComboBox Set myCB = EXLapp.CommandBars(myComBarIndex).Controls.Add(msoControlComboBox) myCB.AddItem ("Item1") myCB.Text = "select an item" Set myCB = Nothing reply if you have any questions

      M 1 Reply Last reply
      0
      • S SHaroz

        try this: Dim myCB As CommandBarComboBox Set myCB = EXLapp.CommandBars(myComBarIndex).Controls.Add(msoControlComboBox) myCB.AddItem ("Item1") myCB.Text = "select an item" Set myCB = Nothing reply if you have any questions

        M Offline
        M Offline
        MFC is the Best
        wrote on last edited by
        #3

        Thank you very much! :rose: :rose: :rose: MFC is the Best

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups