+ Reply to Thread
Results 1 to 2 of 2

Userform Combobox Additem Only Accepts Numbers from Cells

  1. #1
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Midwest
    MS-Off Ver
    Excel 365
    Posts
    124

    Userform Combobox Additem Only Accepts Numbers from Cells

    I have the very simple code below to populate the comboboxes in a userform. I have 3 iterations of the code for 3 different comboboxes. For some reason, I get a mismatch error when I have any values in those cells other than a number. Am I missing something in the combobox properties? Very perplexed by this... Also, you may wonder why I have the exit statement: the combobox was listing a bunch of blanks so the scroll bar was really small. Thanks for any advice!
    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Midwest
    MS-Off Ver
    Excel 365
    Posts
    124

    Re: Userform Combobox Additem Only Accepts Numbers from Cells

    Aww man. I'm so sorry for being a buffoon and wasting anyones time reading this. It should be to lr, not to the range which fixed both those problems.
    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. i want to validate a cell which only accepts text not numbers
    By foramkubavat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2015, 08:53 AM
  2. Additem to OLEobject combobox
    By SIMBAtheCAT in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2014, 01:27 PM
  3. How to create a userform that accepts a date.
    By kp424 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2014, 06:22 AM
  4. ComboBox AddItem will repeat the list
    By Siops in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2012, 12:15 PM
  5. .additem loading bug on userform
    By dems in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-10-2010, 06:22 AM
  6. unique text additem combobox
    By CG Rosén in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2005, 11:05 AM
  7. additem to combobox with an array
    By jocke in forum Excel General
    Replies: 2
    Last Post: 09-29-2005, 02:56 PM

Tags for this Thread

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