Escolar Documentos
Profissional Documentos
Cultura Documentos
Function Extenso
Function Extenso
Exit Function
End If
If WorksheetFunction.RoundDown(Valor, 0) = 1 Then
End If
' End If
' Caso A String Seja Diferente De Branco E Valor Seja Maior Ou Igual A 1
End If
End If
Vzz = "00000000000000000000"
Vtrocar = Vetor(UBound(Vetor))
End If
Extenso_Valor = Strmoeda
End Function
Exit Function
End If
Centavos = ""
Else
End If
End Function
Dim Unid(9)
Unid(5) = "Cinco"
' Retorna A String Referente A Unidade Passada Para
Unidades = Trim(Unid(Unidade))
End Function
Dim Dezes(9)
Dim Dez(9)
Dezes(5) = "Quinze"
Dez(5) = "Cinquenta"
If Intdezena = 0 Then
' Dezenas Sao Iguais As Unidades
Dezenas = Unidades(Intunidade)
Exit Function
Else:
Dezenas = Dez(Intdezena)
End If
' Entre 11 E 19
Dezenas = Dezes(Intunidade)
Else
End If
End If
Dezenas = Dezenas
End Function
Dim Cento(9)
' Define As Centenas
Cento(5) = "Quinhentos"
' Se Centena For Cem, Definir String Como "Cem " E Sair
Else
Centostring = Cento(Tmpcento)
End If
' Maior Que 1. Se Forem Verdadeiros; Entao, Adicionar " E " A String Da Centena
If (Tmpuni >= 0 And Tmpunimod >= 0 And Tmpdez >= 1 And Tmpcento >= 1) Then
End If
' Concatena A String Do Cento Com A String Da Dezena
End Function
End If
If (Tmpcento >= 1 And Tmpcento <= 100) Then Milstring = Milstring & " "
Milhares = Trim(Milstring & Centenas(Tmpcento))
End Function
If (Tmpmilhao = 1) Then
End If
End Function
If (Tmpbilhao = 1) Then
End If
End Function
If (Tmptrilhao = 1) Then
End If
End Function
Function Arredbaixo(Valor)
Dim Tmpvalor
End Function