Dim question

  • Thread starter Thread starter jay
  • Start date Start date
What are you trying to accomplish (i.e., what is the "it" you're trying
to set back to 0 or 1?)?

If the variable is a numeric or variant type, you can just use the
assignment operator:

a = 1
 
If you're still looking at the edit|Find or Replace stuff, there's one more
reply at the original thread.
 
Can Dim i Long be set to 0 or 1?

I am looping 50 times using Dim i.
Is there a command line to reset Dim i to 0 or 1?
 
Dim is used to declare the variable.

You can change it to any value with a statement like:

i = 0
i = 1
i = i + 1
or even
i = i * 2 + 3 - 4 * 7

But there's another question at your other thread.
 
Back
Top