View Single Post
  #6  
Old 03-08-2018, 06:46 AM
bighalo bighalo is offline
Registered User
 
Join Date: Mar 2018
Posts: 4
I find out the root cause.
I made a stupid mistake.

result = crt.Dialog.MessageBox("gotcha","gotcha", ICON_STOP Or BUTTON_OK Or DEFBUTTON1 )
if result = IDNO then
exit sub
end if

if result = IDNO then exit sub. but the messagebox only has the OK button.
so it will never exit sub....

I was feeling embarrassed.
Reply With Quote