Public Function URmb(ByVal Money As Double) As String
Dim Intlen As Integer, i As Integer, strMoney As String
strMoney = Format(Money, "#.##") * 100
Intlen = Len(strMoney)
If Intlen > 14 Then MsgBox "超出范围!": Exit Function
For i = 1 To Intlen
URmb = Mid("零壹贰叁肆伍陆柒捌玖", Mid(strMoney, Intlen + 1 - i, 1) + 1, 1) & Mid("分角元拾佰仟万拾佰仟亿拾佰仟", i, 1) & URmb
Next
End Function