Excel Micro Spell Number
Excel Micro Spell Number
Excel Micro Spell Number
Dim Temp
MyNumber = Trim(Str(MyNumber))
' Hi! Note the above line Mid function it gives right portion
'if only . and no numbers such as 789. accures, mid returns nothing
' Left function gives only left portion of the string with specified places here 2
Paise = ConvertTens(Temp)
End If
Count = 1
If Temp <> "" Then Rupees = Temp & Place(Count) & Rupees
If Len(MyNumber) > 3 Then
Else
MyNumber = ""
End If
End If
Count = 2
If Temp <> "" Then Rupees = Temp & Place(Count) & Rupees
Else
MyNumber = ""
End If
Count = Count + 1
Loop
Case ""
Rupees = ""
Case "One"
Case Else
End Select
' Clean up paise.
Case ""
Paise = ""
Case "One"
Case Else
End Select
spelltoeng = Paise
spelltoeng = Rupees
Else
End If
End Function
End Select
End Function
End If
Else
End If
ConvertHundreds = Trim(Result)
End Function
Case Else
End Select
Else
Case Else
End Select
End If
ConvertTens = Result
End Function