LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Precede the wildcard with a tilde

~* instead of *

Regards,

Peo Sjoblom


"jeb" wrote:

Hi,
I'm a newbie to Excel and this group so please excuse my ignorance.

I'm trying to do what should be a pretty simple find and replace. I want to
replace:
base=xyz*cntry=123*type=simple
wist
base=differentbase*cntry=123*type=simple

I have to include the type field in my search and the asterik's are part of
the text, not wildcards. The only thing I want to change is the base.
I put this in for the search criteria:
base=xyz*cnty=???*type=simple
This finds all the lines I'm looking for so, so far, so good.
For the replace string, I use this:
base=differentbase*cntry=???*type=simple

The result is that it changes all the cntry='s to ??? instead of just
leaving them alone.

Any suggestions appreciated.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro to Find Replace in Excel Nurddin Excel Discussion (Misc queries) 7 January 3rd 05 04:29 AM
Find and Replace Needing Help Excel Discussion (Misc queries) 1 December 17th 04 05:38 AM
How Can I find and replace symbols in excel data ( white square) alawhizkid Excel Discussion (Misc queries) 1 December 14th 04 10:44 PM
macro to search and replace with offset Tim Excel Discussion (Misc queries) 5 December 11th 04 09:30 PM
Replace Fx with = in Excel as older excel versions were. Solzman Excel Discussion (Misc queries) 1 December 2nd 04 04:55 PM


All times are GMT +1. The time now is 05:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"