PDA

View Full Version : Experiencing workbook with user form keeps closing upon opening



atzdgreat
09-21-2021, 06:16 PM
Hi! may i know if some from you experienced upon opening workbook with userform keeps closing the workbook. i'm using office 365.

Logit
09-22-2021, 08:03 AM
Do you have macro code that specifies the workbook to close ?

Paul_Hossler
09-22-2021, 09:02 AM
If the WB is corrupted, that might do it

Export modules and rebuild it

atzdgreat
09-23-2021, 06:21 AM
No sir i dont have. So let say i have more modules and userforms.

Now in my workbook_open, i have a code says Mainwindow.show.

And in Mainwindow userform, there is no data specifies in mainwindow_initialize.

Logit
09-23-2021, 08:04 AM
It would help greatly if you posted your workbook for download. Use the GO ADVANCED button.