+ Reply to Thread
Results 1 to 25 of 25

Need macro to copy data from 1 sheet to multiple sheets based on certain criteria

Hybrid View

  1. #1
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,784

    Re: Need macro to copy data from 1 sheet to multiple sheets based on certain criteria

    Like professor Higgins I feel I can now say "My God I got it!"

    Well the quote is not really like that but it was the best I could think of. File is also tested in an US environment and runs fine. The crux of the matter was the formula I added to the
    macro i.e. =TEXT(cell,"mm-dd-yyyy")

    This will give you date in the format mm-dd-yyyy, and if you wish for another format just change the line
    Range("C2").Formula = "=TEXT(G2, ""mm-dd-yyyy"")"
    to the format you wish for as long as there are no forbidden characters in it.

    So just click on the macro "ArrData" and do a rerun to test and you don't need to delete all the result sheets, the macro will do that.

    Alf
    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. Copy Data from multiple sheets based on criteria in a column and paste to master log.
    By Jsonic5280 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-11-2016, 03:55 PM
  2. Replies: 2
    Last Post: 01-23-2016, 01:16 PM
  3. [SOLVED] Macro to Copy Rows to new sheet based on Multiple Criteria
    By ecubersax in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-07-2015, 01:07 AM
  4. [SOLVED] VBA Code to copy different data from one sheet to multiple sheets based on criteria
    By eharwood in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-08-2014, 02:22 PM
  5. [SOLVED] Need Macro that arranges data from one sheet onto other sheets based on criteria
    By sephus730 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-12-2013, 07:22 PM
  6. Search multiple sheets for value based on criteria and copy data accordingly
    By Zagadka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2012, 08:46 AM
  7. Copy data from multiple sheets based on certain criteria!!
    By missyk77 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-24-2010, 12:05 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