Need help with counting code

wxdqz

New Member
I have a password program where you get 3 tries to enter the password. This part works great.

Now I want to add a 2 features that gives you the number of tries you have left and then when you get it right the message box tells you that you got it right in x number of tries.

I imagine I could use a for loop to count but am not sure where to place it? Would I need 2 loops, one to increment and one to decrement number of tries?

Thanks.

MoJo
 
Back
Top