Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
hme hme is offline
external usenet poster
 
Posts: 1
Default Range Filtering


Hi

When I use Find("-BUSH-") to find a range in the cells in a worksheet,
macro find also "GEORGE -BUSH-" or "-BUSH-ING".

How can I find just "-BUSH-" nothing more in the string.

Regards
HME


--
hme
------------------------------------------------------------------------
hme's Profile: http://www.excelforum.com/member.php...o&userid=15930
View this thread: http://www.excelforum.com/showthread...hreadid=276937

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Range Filtering

set rng = cells.Find(What:="-BUSH-",Lookat:=xlWhole)


--
Regards,
Tom Ogilvy


"hme" wrote in message
...

Hi

When I use Find("-BUSH-") to find a range in the cells in a worksheet,
macro find also "GEORGE -BUSH-" or "-BUSH-ING".

How can I find just "-BUSH-" nothing more in the string.

Regards
HME


--
hme
------------------------------------------------------------------------
hme's Profile:

http://www.excelforum.com/member.php...o&userid=15930
View this thread: http://www.excelforum.com/showthread...hreadid=276937



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
Excel 2007 Filtering range [email protected] Excel Discussion (Misc queries) 1 June 4th 08 03:45 PM
Automatically filtering a range Winston Williams Excel Discussion (Misc queries) 1 June 24th 07 03:03 AM
Filtering a dynamic range Basil Excel Worksheet Functions 5 April 30th 07 06:05 PM
filtering on range of values mkrijger Excel Discussion (Misc queries) 1 February 10th 07 02:11 PM
Advanced Filtering Extract Range Missing,etc bridges_22 Excel Worksheet Functions 1 February 6th 06 04:19 PM


All times are GMT +1. The time now is 08:16 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"