+ Reply to Thread
Results 1 to 5 of 5

Copy Paste From Rawdata Sheets to Multiple Sheets Based on Sheet names

  1. #1
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Copy Paste From Rawdata Sheets to Multiple Sheets Based on Sheet names

    Hi Experts ,
    I need a help via VBA , because contains 70+ excel sheet and will be very difficult to put formula in every sheet.

    In the attached sample.xlsx one sheet named Rawdata all the data is reside on this sheet , required to copy data based on Column A and Column B of rawdata sheet to multiple data sheets containing similar column A data and Column B dates. All Columns of Rawdata sheet copied to multi sheets ( the data which need to be copied in no fonts )

    Hope i understand well.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy Paste From Rawdata Sheets to Multiple Sheets Based on Sheet names

    This seems to do what you want:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Re: Copy Paste From Rawdata Sheets to Multiple Sheets Based on Sheet names

    JBeaucaire Thank you it works ...
    E.g the data is not in sequence Name1 starts from row no 65 to 80 and the Date is 1/1/2017 to 1/16/2017 available in Rawdata sheet . After that no continuation the 1/17/2017 for Name1 on row no 90 so on . How can we modify the code?
    Add more some times the data is not up to end of the month it breaks e.g till 1/16/2016 and then next other Well starts Name2, by running the code it copies the data which not belongs to well columnA respectively
    Last edited by farrukh; 07-16-2017 at 01:21 PM.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy Paste From Rawdata Sheets to Multiple Sheets Based on Sheet names

    1) Sort your data using Column A, then column B. Then macro works as is.

  5. #5
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Re: Copy Paste From Rawdata Sheets to Multiple Sheets Based on Sheet names

    Thank you for your support & Help !

+ 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] Create Sheets and copy rows to the Sheets if cell contains sheet names
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2015, 08:06 AM
  2. Loop Action on Multiple Sheets Based on Sheet Names in a Range
    By xtinct2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2014, 04:18 PM
  3. Replies: 3
    Last Post: 10-01-2014, 01:49 PM
  4. [SOLVED] copy range from multiple sheets and paste to one sheet
    By David_Hiss in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-05-2013, 09:48 PM
  5. Replies: 1
    Last Post: 01-08-2013, 03:38 AM
  6. Data copy and paste to multiple sheets by renaming the names
    By Ignesh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-22-2012, 02:37 PM
  7. copy cells from sheets based on date, paste to another sheet
    By upod in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-27-2009, 01:29 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