+ Reply to Thread
Results 1 to 2 of 2

Find part of a cell, replace whole cell value?

  1. #1
    Registered User
    Join Date
    06-26-2019
    Location
    California, US
    MS-Off Ver
    Office 365
    Posts
    36

    Find part of a cell, replace whole cell value?

    How do I find cells that contain a part, and then replace the entire cell value?

    For instance, with this code:
    Please Login or Register  to view this content.
    HelloDan becomes Hello EveryoneDan.
    HelloJoe becomes Hello EveryoneJoe.

    What I really want is for "HelloDan" and "HelloJoe" to become "Hello Everyone"

    How can I do that?

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Find part of a cell, replace whole cell value?

    Try this

    Please Login or Register  to view this content.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

+ 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. How to make end of cell character part of find...replace
    By Styler001 in forum Excel General
    Replies: 7
    Last Post: 03-20-2019, 08:25 AM
  2. Find and replace part of cell
    By Wiggy74 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-21-2017, 10:23 AM
  3. Find and replace, leaving part of the cell untouched
    By austeane in forum Excel General
    Replies: 5
    Last Post: 10-13-2014, 05:20 PM
  4. Excel Find and Replace part of text in cell with a meaning from another worksheet
    By jiwaniakbar in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-14-2013, 04:21 PM
  5. [SOLVED] need VBA to find and replace part of a value in a cell
    By Marijke in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-04-2013, 05:46 PM
  6. Find and Replace Part of cell
    By adam2308 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-21-2009, 05:50 AM
  7. Find part of text within cell and replace from another cell
    By sydinstaller in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-27-2008, 05:32 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