Public Function RemoveDecimal(ByVal Price As Double) As Long
intPart = Mid(Price, 1, InStr(1, Str(Price), ".") - 2)
decPart = Mid(Price, InStr(1, Str(Price), "."), 6)
If InStr(Str(Price), ".") > 0 Then
RemoveDecimal = intPart & (decPart * (10 ^ (6 - Len(decPart))))...