Close one Window while leaving the first one open

sbuffington

New Member
Joined
Jan 14, 2019
Messages
8
Hi...I have several excel applications and I'd like to create a new one just for like a main menu. I can open the target workbook without issue...I have a button in the target the save and close, after closing the target application it then asks to save the main menu application, if you click either save or dont save it closes everything, if you click on cancel it closes nothing. I hope this makes sencse. All i want to do is close and save the target, and keep the main menu applcation open...no need to save the main menu either, its just a place to hold buttons to the other applications.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
can you post the procedure that opens new workbooks?
Also the code that is closing the second workbook.
If you are using Application.Quit to close the second workbook it will try to close all.
And which version of Excel are you using?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,421
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top