Kryzsoccer
Programmer
Why will this return an overflow error:
Dim hello As Long
Private Sub Form_Load()
hello = 15 * 3 * 18 * 45
End Sub
but this will work fine:
Dim hello As Long
Private Sub Form_Load()
hello = 15 * 3
hello = hello * 18 * 45
End Sub
Are they not both doing the exact same thing??
As always, ALL help is appreciated!!
Dim hello As Long
Private Sub Form_Load()
hello = 15 * 3 * 18 * 45
End Sub
but this will work fine:
Dim hello As Long
Private Sub Form_Load()
hello = 15 * 3
hello = hello * 18 * 45
End Sub
Are they not both doing the exact same thing??
As always, ALL help is appreciated!!