How can I prevent a workbook closing if a userform is not close?.I know it will close on exit but it creates problem with the workbook syncing with dropbox.If the userform is closed before hitting the X there is no problem,if you hit the X with userform open dropbox gives you a vbaproject password box.This only happens if workbook has vba password.Have three sheets in workbook with a userform on each one,
worksheet1 userform2
worksheet2 userform3
worksheet3 userform4
Need a way to not close workbook if one of these userform are open?
I did put unload userform2 in the before workbook close and it does close the userform but still have problems with dropbox,the userform form need closed before you click on the X
Thanks for any input on this
Bookmarks