+ Reply to Thread
Results 1 to 11 of 11

Find and replace with exact string

Hybrid View

  1. #1
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Find and replace with exact string

    What code are you currently using to find and replace?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Find and replace with exact string

    As recommended by OllyXLS it would be best to see your code, so that we can determine what would/could cause the mistakes.

    Maybe:

    Sub carriecllek()
    Cells.Replace "Room 1,2,3", "Room 1, Room 2, Room 3", xlPart ' Or xlWhole depending on if you replace part of a cell or an entire cell
    End Sub

+ 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. Find an exact word within a text string
    By juanmimr in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-08-2013, 10:30 AM
  2. [SOLVED] Find a string by VBA Regular Expression and replace a part of that string
    By taps in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-25-2013, 11:08 AM
  3. [SOLVED] Find Exact Match Text String Using Formula
    By sweetrevelation in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-12-2012, 10:53 AM
  4. Replace Exact String Portion
    By MCCCLXXXV in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2011, 11:36 AM
  5. macro find&replace only exact value
    By DMR1712 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2009, 06:04 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