A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
now it's not working at all, haha
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
can someone explain to me, why when put the loop until answer=true all the codes under this stop working ?
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
now it's not working at all, haha
error code 800A03F3 expected '=' line 2 character 25
As a general rule
Declare Variables
Never use reserved words (like Password) as variable
Does this do what you need?
Sub TestPW()
Const strPass As String = "bp"
Dim strInput As String
Do
strInput = InputBox("Enter PW")
If Not strInput = strPass Then MsgBox "Try again"
Loop Until strInput = strPass
MsgBox "Correct"
'rest of code
End Sub
msgbox"Βάλε τον κωδικό πρόσβασης για να συνεχίσεις!"
password = "bp"
do
ask=inputbox ("Κωδικός Πρόσβασης: Made By Nektarios!")
select case ask
case password
answer=true
x=msgbox("Κωδικός δεκτός!")
wscript.quit
end select
answer=false
x=msgbox("Προσπάθησε ξανά!")
Loop until answer=true
WScript.Sleep 2000
x=msgbox("Τέλεια, τώρα έχεις πρόσβαση!")
You really need to post at least the relevant part of your code.