Close Workbook on Userform Close
Tagada
-
Willzac Posted messages 281 Status Membre -
Willzac Posted messages 281 Status Membre -
Hello everyone,
I would like to know if it is possible to close Excel when closing a Userform (my userform is actually a kind of main menu)?
I have tried all the commands such as
ActiveWorkbook.Save
.Close
Application.Quit
etc...
But none have really closed the workbook because when we do that, other users will still see the workbook in read-only mode if they try to open it. Moreover, in the task manager, Excel is still running...
Do you have a solution?
Thank you!
Configuration: Android / Chrome 67.0.3396.87
I would like to know if it is possible to close Excel when closing a Userform (my userform is actually a kind of main menu)?
I have tried all the commands such as
ActiveWorkbook.Save
.Close
Application.Quit
etc...
But none have really closed the workbook because when we do that, other users will still see the workbook in read-only mode if they try to open it. Moreover, in the task manager, Excel is still running...
Do you have a solution?
Thank you!
Configuration: Android / Chrome 67.0.3396.87
Try instead:
And delete: