+ Reply to Thread
Results 1 to 5 of 5

Move data from one sheet to many sheet using VBA

  1. #1
    Registered User
    Join Date
    07-12-2016
    Location
    Lahore, Pakistan
    MS-Off Ver
    2016
    Posts
    5

    Move data from one sheet to many sheet using VBA

    hi All,

    i have a problem, i have a sheet having master data of customers. and at the end of every week i move date (Via Copy Paste) from master sheet to other sub sheets of the same workbook.
    these sub sheets are around 100 so it is very boring and time consuming work for me. any body please help me to get rid of this.
    i attached a sample file for reference, and "Customer Name" Column is use for Distribute or move data to other Sheets.

    Thanks

    Hayder Ali
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Move data from one sheet to many sheet using VBA

    Does the data in [Master Data] replace the existing data in each customer worksheet, or should it be appended to the bottom of existing data?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Move data from one sheet to many sheet using VBA

    Try this:
    Please Login or Register  to view this content.
    You can change the 'DataOption' value to choose between replacing existing data, or appending to existing data.

    Updated workbook attached.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-06-2016
    Location
    Hampshire
    MS-Off Ver
    2013
    Posts
    19

    Re: Move data from one sheet to many sheet using VBA

    Hi,
    Give this code I developed for others on another forum a try & see if it does what you want.
    Code displays an inputbox where you select the field heading (customer name) you want to filter & will copy data to their respective sheets. If sheet does not exist, code will create it.
    Each time you run the code, all sheets will be refreshed.
    Solution is designed to be universal & should be able to be used in any project without any changes.

    Hope helpful

    Dave
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-12-2016
    Location
    Lahore, Pakistan
    MS-Off Ver
    2016
    Posts
    5

    Re: Move data from one sheet to many sheet using VBA

    Thanks for your prompt reply dear. it is indeed very helpful for me.
    thanks again

+ 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. VBA code to move data from a entry sheet to a historical sheet by date
    By rlh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-17-2014, 07:15 PM
  2. [SOLVED] Move coulumns data of a sheet to diff other columns of other sheet in same workbook
    By ROHAN999 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-03-2013, 09:22 AM
  3. Replies: 2
    Last Post: 05-27-2013, 11:21 PM
  4. Split Data Unique Value From 2 Sheet of A column and Move to 2 Sheet with Splited Values
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2013, 04:21 AM
  5. Move entire row of data from Sheet 1 to sheet 2 when completed date is entered.
    By jt7721 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-18-2013, 11:50 AM
  6. VBA CODE to move rows from one sheet(1) to another sheet(2) based on data in cell
    By fozzieulo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2013, 02:43 PM
  7. [SOLVED] Move rows of data from one sheet to another based on specific values of sheet
    By buntalan80 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-26-2013, 06:21 AM

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