+ Reply to Thread
Results 1 to 4 of 4

How to record a macro dropdown that will auto-fill cells.

  1. #1
    Registered User
    Join Date
    08-05-2015
    Location
    Washington State
    MS-Off Ver
    2010
    Posts
    13

    How to record a macro dropdown that will auto-fill cells.

    I'm assuming that is a possiblity!

    In the submitted workbook, I would like the "plan" column on the Registration sheet to autofill the "Cost" columns and appropriate play and hotel selections (from the Plan Code sheet). Additionally, I would like the "plan" column to limit selections (dropdown) to the Plan Codes on sheet 2.

    For example, if I select plan B2- the "Cost" column would autofill with "$600" and "1" would appear under "YoG", "12th", "TofA", "GrtE", as well as "Fri." and "Sat." hotel.

    I'm relatively new to writing macros and don't have the lingo down.

    Thanks, in advance, for your help!
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: How to record a macro dropdown that will auto-fill cells.

    Hi maurerjl,

    I put this event code in your registration along with the Fillcodes routine and I tried to put validation in your registration sheet:

    Please Login or Register  to view this content.
    See if it works
    Attached Files Attached Files
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    08-05-2015
    Location
    Washington State
    MS-Off Ver
    2010
    Posts
    13

    Re: How to record a macro dropdown that will auto-fill cells.

    Works fabulously, thank you xladept! I'm copying your VBA so I have it for my future reference!

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: How to record a macro dropdown that will auto-fill cells.

    Hi maurerjl,

    The code is already in the book I posted And, you're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

    And - thanks for the rep!
    Last edited by xladept; 01-21-2016 at 03:34 PM.

+ 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. Dropdown box, auto fill form and print.
    By bigbubbaz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-03-2015, 11:37 AM
  2. Macro to auto-fill all the blank cells ???
    By canefan17 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2015, 05:34 PM
  3. [SOLVED] Auto fill in for dropdown menu
    By smls in forum Excel General
    Replies: 10
    Last Post: 11-26-2014, 10:56 AM
  4. Auto fill empty cells macro
    By Dibbley247 in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 02-10-2013, 07:30 AM
  5. Auto fill by dropdown
    By benchthomas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2012, 10:46 AM
  6. Macro to auto fill cells
    By jennieS in forum Excel General
    Replies: 4
    Last Post: 07-08-2010, 09:25 AM
  7. Replies: 3
    Last Post: 02-22-2006, 11:35 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