+ Reply to Thread
Results 1 to 4 of 4

find and replace

  1. #1
    Registered User
    Join Date
    11-14-2011
    Location
    Dusseldorf, Germany
    MS-Off Ver
    Excel 2003
    Posts
    97

    find and replace

    Hello,

    Need a guru help

    I'm trying to find and replace based on two columns:
    so, I have the bellow table

    Column A Column A
    Some data here here
    Some data here2 here2
    Some data here3 here3

    after running the macro I want to have the below result

    Column A Column A
    Some data #replaced# here
    Some data #replaced# here2
    Some data #replaced# here3

    I don't need to search in all rows for the "here". e.g. if I have in B2 "here" I want to detect it only in A2... not in A3,A4 etc...

    I currently have this code to find and replace... but this will search in all column A

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: find and replace

    Maybe:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-02-2012
    Location
    Bumi Nusantara
    MS-Off Ver
    Excel 2010; Excel 2016
    Posts
    136

    Re: find and replace

    replace this code
    Please Login or Register  to view this content.
    with this one
    Please Login or Register  to view this content.
    click the star if it solves your problem

  4. #4
    Registered User
    Join Date
    11-14-2011
    Location
    Dusseldorf, Germany
    MS-Off Ver
    Excel 2003
    Posts
    97

    Re: find and replace

    Thank you Kyle123... this worked perfect !

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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