+ Reply to Thread
Results 1 to 7 of 7

Find & Replace Entire Cell Contents

  1. #1
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    378

    Find & Replace Entire Cell Contents

    I currently have the following code that I have been using to find and replace cell contents...

    Please Login or Register  to view this content.
    However, I want to search cells within a particular column for a specified string of text and then replace the ENTIRE contents with something else. How do can I do that with either this code or with a different code?


    THANKS!!!!!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find & Replace Entire Cell Contents

    Without VBA

    Ctrl + H

    Find MC9090
    Replace by new text

    replace all
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Find & Replace Entire Cell Contents

    I have just recently started getting this error when I try and replace contents....

    "Microsoft Excel cannot find any data to replace. Check if your search formatting criteria are defined correctly. If you are sure that matching data exists in this workbook, it may be on a protected sheet. Excel cannot replace data on a protected worksheet."

    The data is there and the worksheet is not protected...ideas?

  4. #4
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Find & Replace Entire Cell Contents

    I opened a new book and did a sample and it replaced it but it didn't replace the entire contents with just the text I wanted...it only replaced the text I specified to search for.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,465

    Re: Find & Replace Entire Cell Contents

    try
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Find & Replace Entire Cell Contents

    What do i need to do in order to replace the entire contents if the cell contains some defined text?

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,465

    Re: Find & Replace Entire Cell Contents

    Please Login or Register  to view this content.
    Alter column reference as needed.

+ 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