I wonder if there's a way to make this easier in VB...
Variable1 = Variable1 + Variable2
something like Variable =+ Variable2
Just for adding while in a loop...using the old varaible...adding extra number....
Printable View
I wonder if there's a way to make this easier in VB...
Variable1 = Variable1 + Variable2
something like Variable =+ Variable2
Just for adding while in a loop...using the old varaible...adding extra number....
Not that I know of :o
VB Code:
Public Sub addToNumber(ByRef n As Long, ByVal nToAdd As Long) n = n + nToAdd End Sub
:D ;)