Suggestion. If the screen has sensitive information, you can edit it before posting.
As they say, a picture is worth 1000 words.
Copy the screen and paste it into Notepad.
Edit out the sensitive info using xxx for text, 123 for numbers. Leave dates as is if you can.
Then post.
I had a situation where a user ran a macro but did not close the final msgbox until she went to lunch. The macro was open for several hours.
Is there any way of forcing a msgbox to close after a perior of time - perhaps a minute or two of no response from the user?
Thanks very much,
Dennis
I believe changing the "and" to an "or" may help. If I read the code correctly, it appears that you are asking for all three keys to be pressed at once.
Try:
While (F<>"S" or F<>"Z" or F<>"E")
F=Sess0.Screen.WaitForKeys(F)
WEnd
Hope this helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.