Поскольку многие люди заявили, что Вы действительно не можете преобразовать плавающую точку назад в часть (если его чрезвычайно точное как.25). Конечно, Вы могли создать некоторый тип, ищут большой массив частей и используют своего рода нечеткую логику для приведения к результату, который Вы ищете. Снова это не было бы точно, хотя и необходимо будет определить нижние границы как большой Ваш хотеть, чтобы знаменатель пошел.
.32 < x <.34 = 1/3 или что-то как этот.
Dim rng As Range
Set rng = Selection.Find(What:=email, After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If Not rng Is Nothing Then 'when rng <> nothing means found something'
rng.Activate
End IF
Selection.Find is like using Ctrl+F to find a value. You can then check against Activecell.Value to see if you got the desired result.
Find
returns a Range object that will ave value Nothing
if What
is not found. From the help:
With Worksheets(1).Range("a1:a500")
Set c = .Find(2, lookin:=xlValues)
If Not c Is Nothing Then
firstAddress = c.Address
Do
c.Value = 5
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstAddress
End If
End With