#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default Find Code

Pedro,

If you know the target is %ge, you could try something like

Set c = Range("A1:A3").Find(Format(Range("C1"), "%"), LookIn:=xlValues)

--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"Pedro Marques" wrote in message
...
Hi

I have a variable defined as strBest=0.03612
I have a range like:
2.31%
4.53%
3.61%

What code should I write to find the strBest value in the previous range.
I am trying some difficulties using the find function because I have to
write the same format has the range

Thanks




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
VBA Code - Find & Move Youlan Excel Discussion (Misc queries) 19 May 13th 08 11:42 PM
Code to find code D. Excel Discussion (Misc queries) 2 August 12th 07 06:16 PM
Find last row code Mike Milmoe Excel Discussion (Misc queries) 2 June 11th 07 08:48 PM
VBA Code to FIND Christine[_4_] Excel Programming 3 July 17th 03 08:24 PM
Modify Find Code Al[_6_] Excel Programming 1 July 15th 03 10:35 PM


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