I can't get my variable to have a 0 infront of it. I need it to show 09, but it won't do it.
What variable can I use that will allow this?
It doesn't matter that much I guess, but still, I would like to know.
Printable View
I can't get my variable to have a 0 infront of it. I need it to show 09, but it won't do it.
What variable can I use that will allow this?
It doesn't matter that much I guess, but still, I would like to know.
You will have to format it as a string after you do your calculations with it and so on.
VB Code:
myVar = Format(myVar, "00")
Thanks. :)