J JE McGimpsey Jul 31, 2004 #2 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
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
D Dave Peterson Jul 31, 2004 #3 If you're still looking at the edit|Find or Replace stuff, there's one more reply at the original thread.
If you're still looking at the edit|Find or Replace stuff, there's one more reply at the original thread.
J jay Jul 31, 2004 #4 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?
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?
D Dave Peterson Jul 31, 2004 #5 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.
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.