Page 1 of 1

[Solved] msgbox/OK

Posted: Tue Jun 01, 2021 5:08 pm
by BubikolRamios
On form a button. inside also this code

Code: Select all

msgbox ("foo")
this produces box with OK button. Click on it - triggers also click on that form button.

Anyone with similar expirience ?

Re: msgbox/OK

Posted: Tue Jun 01, 2021 5:17 pm
by Zizi64
Please upload a full sample file here with the buttons, forms, and macro code.

Re: msgbox/OK

Posted: Tue Jun 01, 2021 11:57 pm
by BubikolRamios
Had that button event on receiving focus, hence from msg box focus dropped to button and event triggered.