Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Replace() to "Find whole words only" ...

Hello -

I have a spreadsheet with cells that have entries separated by
Alt-Enter. Is there a way to use the Range.Replace() function to only
find entire "rows" within that cell?

Here is an example of a single cell ...
XXX_ABC.vb
YYY_CDE.xls

If I do a find of "ABC.vb" for instance, I do not want to find anything
in such a cell because it is only a partial "row".

I cannot break this into multiple cells and I have also written a
routine to step through each cell and identify entire names. The
problem is that this is very slow and the Range.Replace() is so much
faster.

Thanks,
Joe

Reply
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
"Find" a wildcard as a place marker and "replace" with original va Eric Excel Discussion (Misc queries) 1 January 27th 09 06:00 PM
How do you Find and Replace the word "and" but not the and in "han Lyn Excel Discussion (Misc queries) 4 January 10th 08 04:32 PM
How to replace "#N/A" w "0"when vlookup couldn't find the match? Holly Excel Discussion (Misc queries) 2 July 17th 06 11:48 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Replace dialog should put focus on "Find What" not "Replace With" Michael Williams Excel Discussion (Misc queries) 0 May 24th 06 12:45 PM


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

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

About Us

"It's about Microsoft Excel"