Is there any option to close the currently opened MsgBox using any code in VBA access form application ? \
相关问题
- Error handling only works once
- Excel formula in VBA code
- Convert VB's Val to Java?
- Excel VBA run time error 450 from referencing a ra
- Importing data from MS Access db to PostgreSQL db
相关文章
- Unregister a XLL in Excel (VBA)
- numeric up down control in vba
- Declare a Range relative to the Active Cell with V
- Reading (with Filesystem.FileGet) VB6 record file
- COALESCE, IFNULL, or NZ() function that can be use
- CurrentDb.RecordsAffected returns 0. Why?
- How to disable changes in a cell using vba?
- MsgBox Yes/No Excel VBA
I may be wrong but MsgBox is a blocking call creating a modal form so I don't think there is an easy way such as an option to do that. Do you have a specific use case for this ?
MsgBoxes are not intended to be programmatically closed, that's why it's difficult to do so. If you find yourself in a design where you must force close a MsgBox, you should probably re-evaluate your design.