I have a Variable which is holding the value 2001 and i want to add 1 to that variable (2001 +1 = 2002). I am looking for some clue here...<BR><BR>MyVar = 2001<BR>I need add 1 to MyVar which will be 2002.
(and this is mostly directed towards the original poster) <BR><BR>That cInt() has a limit of 32767. If there is any chance the number you are working with will be larger then then then you should use cLng. If you're working with a decimal you should use cDbl (for a double-precision number)