Incrementing Variable shortcut

G

Guest

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
 
G

Guest

I am with you... It would be nice... But alas it is not to be. There is no
increment operator in VB.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top