Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Finding the Excat text in a range


Hi,

At the moment I am using the following code to find specific string in
a range.

Set found = roster_list.Find(temp)

The problem is that even if there is a cell in roster_list with the
value "0.5" but my temp is "0", it says that my text was found. How can
i make sure that it matches the whole term.

Please help!


--
schoujar
------------------------------------------------------------------------
schoujar's Profile: http://www.excelforum.com/member.php...o&userid=26574
View this thread: http://www.excelforum.com/showthread...hreadid=398494

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Finding the Excat text in a range


Hi! Try the following:

Set found = roster_list.Find(temp, *LookAt:=xlWhole*)

regards... ;)

schoujar Wrote:
Hi,

At the moment I am using the following code to find specific string in
a range.

Set found = roster_list.Find(temp)

The problem is that even if there is a cell in roster_list with the
value "0.5" but my temp is "0", it says that my text was found. How can
i make sure that it matches the whole term.

Please help!



--
T-®ex
------------------------------------------------------------------------
T-®ex's Profile: http://www.excelforum.com/member.php...o&userid=26572
View this thread: http://www.excelforum.com/showthread...hreadid=398494

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Finding the Excat text in a range


Thanx, that worked!

T-®ex Wrote:
Hi! Try the following:

Set found = roster_list.Find(temp, *LookAt:=xlWhole*)

regards... ;)



--
schoujar
------------------------------------------------------------------------
schoujar's Profile: http://www.excelforum.com/member.php...o&userid=26574
View this thread: http://www.excelforum.com/showthread...hreadid=398494

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
Finding text in a range Always need help asap :-) Excel Discussion (Misc queries) 5 October 1st 08 08:09 PM
Finding text in a cell and returning a value based on that text [email protected] Excel Discussion (Misc queries) 5 January 10th 07 06:01 PM
Functions- Finding and counting specified text in cell range holliedavis Excel Worksheet Functions 8 November 22nd 06 05:49 PM
Find WorksheetFunction - finding text within text Marcotte A Excel Programming 1 January 24th 05 10:16 PM
Excat Forumla HELP Siddiqui Excel Worksheet Functions 2 November 9th 04 09:10 PM


All times are GMT +1. The time now is 12:03 PM.

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"