+ Reply to Thread
Results 1 to 3 of 3

VBA Button to fill in data based off dropdown list value

  1. #1
    Registered User
    Join Date
    08-10-2017
    Location
    Seattle, WA
    MS-Off Ver
    2016
    Posts
    4

    VBA Button to fill in data based off dropdown list value

    I have 10 rows of data with one of the columns called "Type". This column has either "Primary" or "Secondary" entered in. I then have a column at the end called "Provider" that needs to be filled in based off the functions of my "Primary" button. The button essentially will fill in the "Provider" column for all the "Primary" rows with whatever the value is selected in the dropdown list next to the button. The dropdown list has different telecom providers that the user can select. Is this possible at all? I tried a vlookup but unfortunately it only filled in the first cell that was labeled as "Primary" and not all of them.Excel.JPG
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: VBA Button to fill in data based off dropdown list value

    Put this formula in D2 and copy it down the column.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    08-10-2017
    Location
    Seattle, WA
    MS-Off Ver
    2016
    Posts
    4

    Re: VBA Button to fill in data based off dropdown list value

    This works great. However, I forgot to mention that the column "Provider" is also a dropdown for someone to select a provider. The button is meant to ease the process of the possibility of selecting the same provider for each row and just have the button do it for them. This is my fault and I should have mentioned this.

+ 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. Automatically fill in a dropdown selection based on a previous dropdown
    By thanhthinh1234 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-24-2018, 08:10 PM
  2. VBA button that emails from a dropdown list based on cell values
    By Chocobits in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-23-2017, 02:10 AM
  3. copy data based on dropdown list
    By scouse13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-22-2017, 06:42 AM
  4. Show a list of data based from dropdown selection
    By reecerito in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-09-2016, 03:18 AM
  5. Replies: 3
    Last Post: 11-13-2015, 05:10 AM
  6. Limit DropDown List Results Based on Other Data
    By marcelkahn5 in forum Excel General
    Replies: 5
    Last Post: 08-20-2015, 01:24 AM
  7. Cull dropdown list options based on selection in another dropdown
    By Kiffar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2012, 01:53 AM

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