Code:
Private Sub CommandButton1_Click()
Dim LR As Long
Dim Dash As Long, _
Whole As Double
' Dim pi ', WorkSheets, Range
WorkSheets("Sheet3").Select
LR = Sheets("Sheet3").Cells(Rows.Count, "A").End(xlUp).Row
For r = 2 To LR
s = Cells(r, 3)
arr = Split(s, ",")
For i = LBound(arr) To UBound(arr)
Whole = 0
p = InStr(arr(i), " IN")
If p > 0 Then
' dostuff
End If
Dash = InStr(frac, "-")
If Dash > 0 Then
Whole = Left(frac, Dash - 1)
frac = Mid(frac, Dash + 1, Len(frac))
End If
af = Right(arr(i), Len(arr(i)) - p + 1)
evfrac = Whole + Left(CStr(Evaluate(frac)), 5) ---> error in this line
' evfrac = Whole + Format(Evaluate(frac), "0.###")
ss = ss & evfrac & af & ", "
Next i
Cells(r, 4) = Left(ss, Len(ss) - 2)
ss = ""
Next r
End Sub