+ Reply to Thread
Results 1 to 3 of 3

VBA Compare/Replace

  1. #1
    Registered User
    Join Date
    08-25-2018
    Location
    wisconsin
    MS-Off Ver
    2013
    Posts
    28

    VBA Compare/Replace

    **********
    Last edited by smitty234; 11-02-2018 at 12:33 AM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: VBA Compare/Replace

    I would use a helper column for this.

    Find Last Row in WBA
    Find Last Row in WBB
    Put a formula in an empty column to Flag the rows to copy.
    Sort the data or use a filter
    Copy the data across

    Repeat.

    I assume that you are comparing column E to Column E in both direction

    Then column H to H in both directions

    Then column I to I in both directions

    and

    Then column J to J in both directions



    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    08-25-2018
    Location
    wisconsin
    MS-Off Ver
    2013
    Posts
    28

    Re: VBA Compare/Replace

    The problem I have is this needs to be in VBA.

+ 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. Compare cells and replace value
    By thomasm87 in forum Excel General
    Replies: 3
    Last Post: 10-13-2017, 04:32 AM
  2. [SOLVED] Compare and Replace
    By maddog9486 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-14-2014, 05:48 PM
  3. Compare and replace with corresponding
    By Hellkeeper in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-03-2012, 01:25 PM
  4. Compare and replace
    By lavofra in forum Excel General
    Replies: 9
    Last Post: 03-06-2012, 06:33 AM
  5. Compare and replace
    By dimitriz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-27-2009, 07:43 AM
  6. Compare and Replace with Correct!
    By deftones200 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-18-2007, 10:19 AM
  7. [SOLVED] Q: compare and replace in a workbook
    By Arnfinn Hakkebo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-13-2005, 08:06 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