+ Reply to Thread
Results 1 to 4 of 4

Auto populate textbox value based on combobox value

  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    51

    Auto populate textbox value based on combobox value

    Hi, I got an excel file I need some assistance. I'm currently facing an issue which is that when I select the car model, I want it to be able to auto show the price on the price textbox. I have attached the file for reference.
    Attached Files Attached Files

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Auto populate textbox value based on combobox value

    Hi justin1202,
    try this
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Auto populate textbox value based on combobox value

    Hi justin1202,

    Try the attached file, which uses the following modified code. Changes are in red. I didn't add any comments in the code, because that would destroy the mystery of the existing code.

    In the UserForm module
    Please Login or Register  to view this content.
    Lewis
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-01-2015
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    51

    Re: Auto populate textbox value based on combobox value

    Hi, thanks nilem and LJMetzger. Both of your code works..

+ 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] Textbox - populate with month name and values based on Combobox selection
    By Lukael in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-02-2015, 08:09 AM
  2. [SOLVED] Userform Have Text Boxes Auto Populate Based on Combobox Selection
    By strother1990 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-02-2015, 04:30 PM
  3. Textbox to populate based on combobox selection
    By acroley1 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-11-2015, 04:12 PM
  4. Populate textbox based off ComboBox Selection
    By ladams41 in forum Excel General
    Replies: 1
    Last Post: 04-09-2014, 10:13 AM
  5. Populate TextBox based off ComboBox selection
    By ladams41 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2014, 01:24 PM
  6. Replies: 4
    Last Post: 03-02-2014, 03:33 AM
  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

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