In several languanges (C++ and Jave for eg.) there is a short cut method of
incrementing a variable by 1. For instance in C++ if I have a variable var,
I can have var++ instead of var = var + 1.
Is there something similar in VBA or do I have to write it out?
I know, I know...I have issues with laziness, but is there a way?
Mike
Jim Thomlinson - 17 Mar 2005 23:20 GMT
I am with you... It would be nice... But alas it is not to be. There is no
increment operator in VB.
> In several languanges (C++ and Jave for eg.) there is a short cut method of
> incrementing a variable by 1. For instance in C++ if I have a variable var,
[quoted text clipped - 5 lines]
>
> Mike
crazybass2 - 18 Mar 2005 16:31 GMT
Thanks for the reply.
> I am with you... It would be nice... But alas it is not to be. There is no
> increment operator in VB.
[quoted text clipped - 8 lines]
> >
> > Mike