+ Reply to Thread
Results 1 to 6 of 6

Macro to Copy Data to appropriate Sheert

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,732

    Macro to Copy Data to appropriate Sheert

    I have Data on Sheet "Imported Data"

    Col E contains the sheet names

    I need a macro to copy the data from Col A to E on to the appropriate sheet based on the sheet name in Col E


    Your assistance in this regard is most appreciated


    I have attached sample data
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Macro to Copy Data to appropriate Sheert

    Give this a try.
    Please Login or Register  to view this content.
    BSB

  3. #3
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,732

    Re: Macro to Copy Data to appropriate Sheert

    Thanks for the help, much appreciated

  4. #4
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,732

    Re: Macro to Copy Data to appropriate Sheert

    Hi BSB

    I have used your code on another workbook and need a small change.

    When The Data is copied from sheet "Imported Data" row2 onwards to the appropriate sheet, Where do I amend the code so that it is pasted on the appropriate sheets from row 1 onwards


    Your assistance is most appreciated

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Macro to Copy Data to appropriate Sheert

    Give this slight rewrite a try:
    Please Login or Register  to view this content.
    BSB

  6. #6
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,732

    Re: Macro to Copy Data to appropriate Sheert

    Many thanks for the help

    I changed the "E" to a "D" in code below


    Please Login or Register  to view this content.

+ 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] Macro Optimization - Loop through large data set, copy/reformat some data to separate WS
    By SyracuseWolvrine in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-04-2020, 12:42 PM
  2. Button/Macro to copy data from one sheet to another (price list data to quote)
    By redwood88 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-17-2020, 08:50 PM
  3. Saving copy of data and then running macro on all active worksheets in saved copy?
    By Science87 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2014, 11:56 AM
  4. Macro to filter data and copy the data's from multiple columns based on the criteria
    By millatshawn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2014, 08:14 AM
  5. [SOLVED] Macro to take certain rows of data based on set criteria and past in to an existing sheert
    By Petmol in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2013, 01:30 AM
  6. Macro to copy Dyanmic lists then copy sheet and clear the original data
    By twiggywales in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-30-2012, 01:06 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