Forum Discussion
Lorenzo Kim
May 11, 2018Bronze Contributor
to pause (loop) until any key is pressed
to make a pause in FoxBase programming would look something like this:
x= 0
do until keypressed
x = x + 1
enddo
this loop will disengage when any key is pressed
HOW DO YOU WRITE THIS CODE IN VBA?
many thanks
- A quick and dirty one is showing a message box asking the user to hit enter:
MsgBox "Please press Enter to continue", vbInformation+vbOKOnly
2 Replies
- JKPieterseSilver ContributorA quick and dirty one is showing a message box asking the user to hit enter:
MsgBox "Please press Enter to continue", vbInformation+vbOKOnly- Lorenzo KimBronze Contributor
Mr Karel
Thank you for your reply