Results 1 to 11 of 11

Find and replace with exact string

Threaded View

carrie.cllek Find and replace with exact... 11-27-2013, 12:18 PM
Olly Re: Find and replace with... 11-27-2013, 12:23 PM
JOHN H. DAVIS Re: Find and replace with... 11-27-2013, 12:34 PM
XOR LX Re: Find and replace with... 11-27-2013, 12:28 PM
FDibbins Re: Find and replace with... 11-27-2013, 12:41 PM
jindon Re: Find and replace with... 11-27-2013, 01:10 PM
carrie.cllek Re: Find and replace with... 11-27-2013, 03:25 PM
FDibbins Re: Find and replace with... 11-27-2013, 03:27 PM
carrie.cllek Re: Find and replace with... 11-27-2013, 03:55 PM
Olly Re: Find and replace with... 11-27-2013, 03:47 PM
carrie.cllek Re: Find and replace with... 11-27-2013, 04:02 PM
  1. #1
    Registered User
    Join Date
    11-26-2013
    Location
    Leclaire, Iowa
    MS-Off Ver
    Excel 2010
    Posts
    7

    Find and replace with exact string

    I need to find an exact string (i.e. "Room 1,2,3,4") in a sheet and replace it with another exact string (i.e. "Room 1, Room 2, Room 3, Room 4") in the same sheet.

    How do I denote an exact string?

    The problem I am having is:
    find "Room 1,2,3", replace with "Room 1, Room 2, Room 3" and find "Room 1,2" and replace with "Room 1, Room 2" in the same sheet is finding "Room 1,2" within "Room 1,2,3" and replacing it with "Room 1, Room 2,3".

    How could I make a more general find and replace that deals with all of these possible combinations?
    How do I denote an EXACT string in VBA?
    Last edited by carrie.cllek; 11-27-2013 at 04:04 PM.

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