Form already displayed; can't show modally (Error 400)
You can't use the Show method to display a visible form as modal. This error has the following cause and solution:
You tried to use Show, with the style argument set to 1 - vbModal, on an already visible form.
Use either the Unload statement or the Hide method on the form before trying to show it as a modal form.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk