+ Reply to Thread
Results 1 to 4 of 4

Using Instr in find and replace

  1. #1
    Registered User
    Join Date
    01-04-2014
    Location
    Toronto
    MS-Off Ver
    Excel 2007
    Posts
    15

    Using Instr in find and replace

    I am currently using the following code

    Please Login or Register  to view this content.
    I have set up a separate sheet with all of the find and replace values.
    However what I really need is for the macro to find the values anywhere in the cell and replace it eg.
    Right now
    France - FR and France/USA stays the same
    Would like
    France/USA - FR/USA
    Ideas?
    Thanks

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    13,642

    Re: Using Instr in find and replace

    Try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-04-2014
    Location
    Toronto
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Using Instr in find and replace

    Thank you so much!
    Apparently my brain has stopped working, Friday afternoon and all...

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    13,642

    Re: Using Instr in find and replace

    You're welcome & thanks for the feedback

+ 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. Using Find or some other InStr like function with an if and formula.
    By Hyflex in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-02-2015, 11:15 AM
  2. [SOLVED] If Instr - find last row of data above and delete everything in between
    By twckfa16 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-24-2013, 03:54 PM
  3. [SOLVED] How do I use InStr to find a '-' in the filename?
    By Lee-337 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-09-2013, 02:32 PM
  4. InStr Replace function problem - double entries
    By dominikniki123 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-29-2013, 08:47 AM
  5. Instr Function - Replace String 2 with Variables?
    By max57 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-08-2010, 03:14 PM
  6. Excel 2003/2007 Problem with InStr, Replace, and Len
    By TNZooKeeper in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-22-2009, 08:16 PM
  7. [SOLVED] is there an equal fxn for 'InStr' in excel. Not Find or Search
    By Clausius in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM

Tags for this Thread

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