+ Reply to Thread
Results 1 to 2 of 2

VBA Copy, Find, Copy, Replace All in Workbook From 2 columns

  1. #1
    Registered User
    Join Date
    05-08-2015
    Location
    Memphis, TN USA
    MS-Off Ver
    2013
    Posts
    1

    VBA Copy, Find, Copy, Replace All in Workbook From 2 columns

    I have a workbook with multiple worksheets. In worksheet 1, I have 2 columns of text strings. I want to use the data in column A in a "find" and substitute the value in the corresponding row of column B into the "replace" function. I want to find and replace across the entire workbook (all sheets). I know this is simple but I am rusty on my VBA.

    Cheers,

    Craig

  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: VBA Copy, Find, Copy, Replace All in Workbook From 2 columns

    Based on the MassReplace macro published here, this would do it:

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 12-26-2019 at 04:18 PM.
    _________________
    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!)

+ 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, Paste, Find, and Replace
    By jrgme2010 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2013, 04:11 PM
  2. Macro to find and copy/replace
    By ScabbyDog in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-16-2012, 05:18 AM
  3. Loop workbook find and copy data columns
    By Zaeguzah in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-22-2010, 06:10 AM
  4. Macro VBA for find, copy and replace
    By ballgameaddict in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2008, 11:12 AM
  5. Find, and replace but copy cells before replace
    By raehippychick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2007, 08:16 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