Este fórum está sendo desativado

Depois de 9 anos, este fórum será desativado. Mas calma.... estamos migrando para uma comunidade no DISCORD. Junte-se a nós.

ENTRAR PARA DISCORD

Tópicos relacionados a códigos VBA, gravação de macros, etc.
  • Avatar do usuário
Por WalterOrtega
#14332
Sou aprendiz, porem estou treinando em construir uma calculadora no vba, porem não estou conseguindo fazer com que os módulos conversem com as textbox do userform Calculos.
Segue abaixo e tambem a planilha anexa.
Sub Calculo_Valor_do_Financiamento()

Dim a As Double
Dim x As Integer
Dim b, c, d, e, vf As Double
Dim vtf As Double
Dim np As Integer
'vtf = Calculos.TextVdoFinan("textVdoFinan") 'Não funciona
'np = Calculos.TextNPrest("textnprest") "Não funciona

a = 0.004
x = 1
b = a + x
c = b ^ np
vf = vtf / c

MsgBox "O Valor do Financiamento é: " & vf

End Sub

Grato
Walter Ortega
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]

Estamos migrando para uma comunidade no Discord