+ Reply to Thread
Results 1 to 4 of 4

Find & replace between 2 sheets

  1. #1
    Registered User
    Join Date
    02-22-2016
    Location
    Brazil
    MS-Off Ver
    2010
    Posts
    9

    Lightbulb Find & replace between 2 sheets

    Hello world.

    I have written a VBA code to find a value in one sheet, and if match, just copy the entire row.. OK, it is not only it, let me explain how it works and the problem I am facing:

    First sheet, called "DATA";
    Second sheet, called "WEEK UPDATE"

    1 - The person paste a pre select data in sheet "WEEK UPDATE", then push the botton to check if the value existing in its sheet, exists in the sheet "DATA";

    IF YES, then the row from A to AJ ("week update") is overwritten in sheet "data" in the same colluns
    IF NOT, then the row from A to AJ ("week update") is PASTED in sheet "data" in the same colluns

    2 - The system check if the data in sheet "data", do not exist in sheet "week update", so put a value in collum AN as "Historic"

    IF the collunm is already as "Historic", and system find the value from "Data" in "week update", then the value "historic" is overwritten as "";

    .. NOW MY PROBLEM...

    It works very well, but with a small quantity of lines..
    I am using 50K lines in "week update" and ~40K in "data", and then the macro does not work

    any help, PLEASE ?

    follow the code:


    [Copy to clipboard]

    Please Login or Register  to view this content.
    Last edited by Pepe Le Mokko; 04-17-2020 at 10:43 AM. Reason: Title amended. Please keep to essentials

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Find & replace between 2 sheets

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    As you are new I will add it for you this time.

    https://www.mrexcel.com/board/thread...heets.1131061/

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Find & replace between 2 sheets

    Administrative Note:

    As this is the second time you violate a rule in as many posts, I strongly suggest you read our forum rules.
    Please confirm that you have read and understood these rules.

    All participants :No help to be provided before the OP has complied. Thanks

  4. #4
    Registered User
    Join Date
    02-22-2016
    Location
    Brazil
    MS-Off Ver
    2010
    Posts
    9

    Re: Find & replace between 2 sheets

    Yes, I read. Sorry

    I need 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] VBA to find and replace on specific sheets
    By ahsteinb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2019, 06:39 AM
  2. Find and Replace using cells on different sheets
    By Exceloof in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-18-2019, 02:25 PM
  3. [SOLVED] Find and replace in several (not all) sheets
    By blackberry2012 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-25-2019, 11:49 AM
  4. Find and Replace across Multiple Sheets
    By adambriggs in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 12-31-2014, 10:28 AM
  5. VBA How to find and replace all values over 100% with 100% in all sheets
    By XLOpenUse in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2014, 12:27 AM
  6. [SOLVED] Find & Replace All Sheets Using VBA
    By tmontg2 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-28-2012, 04:06 PM
  7. Find and replace on all sheets
    By Cornwell in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-22-2010, 10:41 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