+ Reply to Thread
Results 1 to 6 of 6

VBA Macro To Copy Cell Data Dependant On Option Selected From Drop Down On The Same Row

  1. #1
    Registered User
    Join Date
    09-23-2015
    Location
    UK
    MS-Off Ver
    2010
    Posts
    68

    VBA Macro To Copy Cell Data Dependant On Option Selected From Drop Down On The Same Row

    Hi,

    Wonder if anyone would be able to help, I’ve exhausted my knowledge

    I have a table B2:E12.

    Columns B-D have numbers, in column E there is a dropdown with the option to select numbers 1-12 from the list.

    I need a code so depending on what number you select from the dropdown in column E it copies the information from columns B-D of the same row into another table so they all group.

    I need all the option 1’s to start filling from column B-D, row 50
    I need all the option 2’s to start filling from column B-D, row 100
    I need all the option 3’s to start filling from column B-D, row 150
    .. and so on.

    Is this even possible?

    Thank You

  2. #2
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    863

    Re: VBA Macro To Copy Cell Data Dependant On Option Selected From Drop Down On The Same Ro

    Yes, it should be possible. Can you provide a sample file to work with? Are the tables them same staring down at row 50, 100, and 150? And Will the data every surpass each section. ie, will Option 1 ever reach rows 99 and 100 and then overlap that area?

  3. #3
    Registered User
    Join Date
    09-23-2015
    Location
    UK
    MS-Off Ver
    2010
    Posts
    68

    Re: VBA Macro To Copy Cell Data Dependant On Option Selected From Drop Down On The Same Ro

    Hi,

    Sorry no file at the moment.

    The tables will be the same starting at row 50 100 and 150, they will never surpass one another.

    Thanks

  4. #4
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    863

    Re: VBA Macro To Copy Cell Data Dependant On Option Selected From Drop Down On The Same Ro

    Does the Table have a header row for column names and will those column headers be included in each section starting on rows 50, 100, 150, etc?

  5. #5
    Registered User
    Join Date
    09-23-2015
    Location
    UK
    MS-Off Ver
    2010
    Posts
    68

    Re: VBA Macro To Copy Cell Data Dependant On Option Selected From Drop Down On The Same Ro

    Hi,

    Yes, there is a header row on each table, all the same.

    Thanks

  6. #6
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    863

    Re: VBA Macro To Copy Cell Data Dependant On Option Selected From Drop Down On The Same Ro

    This should help get you started, but if you have a sample it would be better. And you can decide if you want to use a drop down or some other data validation for 1 - 12.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. clear dependant cells if drop down option is changed
    By deraj in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-29-2015, 09:40 PM
  2. Copy certain hidden template depending on option selected from drop down list
    By tommo28 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-01-2015, 07:00 AM
  3. Replies: 0
    Last Post: 02-18-2015, 10:27 AM
  4. Replies: 4
    Last Post: 10-12-2013, 01:01 PM
  5. autofilter macro to delete rows. Range dependant of cell selected (not hardcoded)
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2011, 07:35 PM
  6. How to change selected drop down choice automatically when a dependant field changes.
    By pepimartinez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-04-2011, 07:22 PM
  7. Replies: 14
    Last Post: 01-19-2009, 02:14 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