+ Reply to Thread
Results 1 to 2 of 2

Get Comboboxes in Sheet by MSForms.ComboBox

  1. #1
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Karlstad, Sweden
    MS-Off Ver
    Excel 2016
    Posts
    232

    Get Comboboxes in Sheet by MSForms.ComboBox

    Why do I get an error when I try to get a combobox from a sheet by 'Sub GetComboboxes1()'
    It works in 'Sub GetComboboxes2()'

    Is it possible to use another collection than OLEObjects when looping through all objects in sheet?

    Both subroutines and worksheet objects are stored in GetComboboxes.xlsm

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    1. Reply to thread and inform if suggestion was helpful or not
    2. Click on the star (=Add Reputation) if you think someone helped you
    3. Mark [SOLVED] to this thread if solution was found. (On Menu "Thread Tools" > "Mark this thread as solved")

  2. #2
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Karlstad, Sweden
    MS-Off Ver
    Excel 2016
    Posts
    232

    Re: Get Comboboxes in Sheet by MSForms.ComboBox

    I tried following also (GetComboboxes3() and GetComboboxes4()). Still I can't store a combobox to a variable defined as:

    Please Login or Register  to view this content.
    What am I doing wrong?

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel Combobox
    By jimprince2000 in forum Excel General
    Replies: 0
    Last Post: 02-19-2014, 02:06 AM
  2. If multiple comboboxes not used then stop populating cells at last combobox input
    By JacobBlue in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2013, 07:42 AM
  3. [SOLVED] Print out combobox value to cell (for multiple comboboxes)
    By hemal89 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-04-2013, 08:56 AM
  4. Replies: 0
    Last Post: 01-25-2013, 07:13 PM
  5. Dim CTL as MSForms.Control always sets as Control/Combobox
    By Post Tenebras Lux in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2006, 01:55 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1