+ Reply to Thread
Results 1 to 4 of 4

need macro modification so that Find inputs are whole-cell only

  1. #1
    Registered User
    Join Date
    12-09-2017
    Location
    Ohio
    MS-Off Ver
    Excel 2013 (home/student)
    Posts
    60

    need macro modification so that Find inputs are whole-cell only

    I need to modify some code that does a multiple-find-and-replace so it only looks at whole cell content, not part. For example, if one of the replacements changes the string "new" into "old", I don't want it to turn "newfangled" into "oldfangled". The code I have (which I got off the internet) is

    Please Login or Register  to view this content.
    When the macro runs, you input the range of cells on which it operates and the range containing a table of original and replacement values.

    Thanks in advance.

    Russ

  2. #2
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: need macro modification so that Find inputs are whole-cell only

    Try:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-09-2017
    Location
    Ohio
    MS-Off Ver
    Excel 2013 (home/student)
    Posts
    60

    Re: need macro modification so that Find inputs are whole-cell only

    Thanks, worked like a charm. Glad it was that simple. I will mark the thread solved.

    Russ

  4. #4
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: need macro modification so that Find inputs are whole-cell only

    You're welcome, glad to help, & 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. [SOLVED] Find value between 2 sets of inputs
    By etipou in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-30-2019, 06:01 PM
  2. in Sheet `inputs' Clear Cell D1 and copy from F1 before running the macro.
    By thilag in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2016, 03:44 AM
  3. Creating a Macro which inputs # of rows based on cell value
    By ngosselin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-28-2015, 03:00 PM
  4. find formula inputs
    By ANS in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-23-2013, 02:36 AM
  5. Replies: 7
    Last Post: 05-07-2013, 05:54 PM
  6. Multiple cell address inputs to a macro
    By chanteur in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2007, 05:07 PM
  7. [SOLVED] How to find a find a list of possible inputs to sum a known amt?
    By JimBunch in forum Excel General
    Replies: 2
    Last Post: 02-18-2006, 01:25 PM

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