Msgbox loop question
Posted 09 August 2012 - 03:48 PM
I've been looking over the fourm archives for ever and it could be that it is so simple no one talks about it.
Here is what I need:
$num = InputBox("Number", "What is the number? ", "", "")
if $num = "" Then Exit
$msg = MsgBox(36, "correct?", "Was the number input correctly")
If = $msg = 7 Then
:::loops back to the input box until:::
Else $msg = 6 Then
;;;;;The rest of the script keeps going;;;;
Is this possible to do?
Posted 09 August 2012 - 03:54 PM
Put the whole thing in an infinite loop - if the number is correct then use ExitLoop to break out.
RecFileListToArray - An alternative to _FileListToArray with user-defined include/exclude masks, maximum recursion level, sorting and displayed path options
GUIListViewEx - Insert, delete, move, drag and sort ListView items
Posted 09 August 2012 - 03:57 PM
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
Posted 09 August 2012 - 04:13 PM
Thanks to both of you. I used the endless loop like melba said. I felt like I was close but I just couldn't get it to jive.
Thanks again for the help and fast response!
Posted 09 August 2012 - 04:42 PM
Edited by JohnOne, 09 August 2012 - 04:43 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users