找整個數字(5.55)的方法:
Set b = profit.Find(5.55, , xlValues, xlWhole)
找以5.55"為首" 的方法 (如5.55, 5.55001, 5.552,5.55999....)
Set b = profit.Find(5.55, , xlValues, xlpart)
(與這個一樣 Set b = profit.Find(5.55, , xlValues)
Set R_Max = R_Profit.Find(Rmax, , xlValues, xlWhole)
Set R_Max = R_Profit.Find(Rmax, , xlFormulas, xlWhole)
如確定 先前的搜尋不是註解 LookIn:=xlComments 可用
Set R_Max = R_Profit.Find(Rmax, , , xlWhole)
If Not R_Max Is Nothing Then
R_MaxRow = R_Max.Row
R_Maxcolumn = R_Max.Column
End If作者: Helain 時間: 2011-11-10 13:24
找整個數字(5.55)的方法:
Set b = profit.Find(5.55, , xlValues, xlWhole)
找以5.55"為首" 的方法 (如5.55, 5.55001, 5.552,5.55999....)
Set b = profit.Find(5.55, , xlValues, xlpart)
(與這個一樣 Set b = profit.Find(5.55, , xlValues)