I need to ask the user if he wants to input a new set of values. The question needs to loop untill the user answers no. The code i've used is below. I've been told that the "vbyes" comment is incorrect - and i can understand that - however i don't know what to replace it with.
Thanks
msgbox "do you want to input another reading...(etc)
If MsgBox = vbyes Then
Check = True
Do
(statements)
MsgBox "Do you want to input another reading...(etc)
If Msgbox = vbNo Then
Check = False
Exit Do
ElseIf MsgBox = VbYes Then
Check = True
End if
Loop Until Check = False
ElseIf VnNo Then
End if
End Sub
As much detail as you can provide would be much appreciated!!
Thanks for your time!
2007-12-28
07:20:33
·
5 answers
·
asked by
thedaa25
2
in
Computers & Internet
➔ Programming & Design