I'm using Userform in Modal mode and I open a Workbook from VBA.
When the workbook is opened, I'd like to bring back the calling Userform to the top, letting the workbook backward waiting for later updating.
Is there any simple VBA statement to implement that ?
Thanks in advance for your input.
Regards.
How about using the following statement:
UserForm1.Show 0 'vbModeless = 0
Or
UserForm1.Show vbModal 'vbModal = 1
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.