Excelvbas01
Gebruiker
- Lid geworden
- 7 apr 2020
- Berichten
- 165
Ik heb deze code maar als ik op de knop druk dan krrijg ik 0 als resultaat.
Wat doe ik hier fout.
Code:
Sub Text()
Dim a, b, c, d As Integer
b = TextBox2.Value
c = TextBox3.Value
d = TextBox4.Value
a = (b + c)
End Sub
Code:
Private Sub Klant1_Click()
Dim a As Integer
txtLabel.Value = a
End Sub
Wat doe ik hier fout.