+ Reply to Thread
Results 1 to 2 of 2

If statement in combobox

  1. #1
    Registered User
    Join Date
    06-26-2015
    Location
    Poland
    MS-Off Ver
    365
    Posts
    56

    If statement in combobox

    Hey there,
    I've got something like this:
    SHEET1.jpg SHEET2.jpg

    I need modification to this code:
    Please Login or Register  to view this content.
    It fills my combobox1 with unique employee names, but I would like it to also take into account company name definied by combobox2 and linked into F2 cell. So something like if F2 = "XYZ" then fill combobox1 with unique employee names in that company else fill names with "ZYX" company.
    Any help is greatly appreciated. Thank you!

    Crossposted at: https://www.mrexcel.com/forum/excel-...ml#post5160721
    (Got solved by crosspost)
    Attached Files Attached Files
    Last edited by Pojzon; 10-16-2018 at 08:07 AM. Reason: crosspost

  2. #2
    Registered User
    Join Date
    06-26-2015
    Location
    Poland
    MS-Off Ver
    365
    Posts
    56

    Re: If statement in combobox

    Is it possible to do?

+ 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. [SOLVED] ComboBox to populate Listbox and 2nd Combobox based on 1st combobox dropdown choice
    By bbqqsmokeman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2017, 08:21 PM
  2. ComboBox values source being changed based on another combobox selection in a UserForm
    By stephenanderson in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-08-2016, 11:12 PM
  3. [SOLVED] Code required to Auto Populate 3rd Combobox based on 02nd Combobox Selection
    By bimmy80 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-14-2015, 03:56 AM
  4. If statement using combobox
    By TodEth in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-11-2015, 03:10 AM
  5. How to: Fill combobox inlcuding IF statement
    By bluestarrr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-24-2014, 05:57 AM
  6. [SOLVED] VBA Userform ComboBox: Content of ComboBox based off of Conditional Statement
    By Brianandstewie in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-16-2013, 03:00 PM
  7. [SOLVED] Excel Userform: Populate other controls (i.e. textbox & combobox) based on combobox select
    By MileHigh_PhD in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2013, 04:50 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