Closing workbooks w/o closing Excel

B

Barb in MD

Other than shift, file, close all, is there a way to close all open workbooks
w/o closing Exel?
 
T

trip_to_tokyo

Barb, I think this question has been asked before and I think that the
conclusion at the time was no.
 
A

APK

I have a cell lets say it is I33 and it total <10, I want Cell K33 to the =
5, next if Cell I33 = 10:15 the Cell K33 = 10. HOw do I get this to work.
 
B

Barb in MD

Thanks for the info. I didn't see where it'd been asked before. Sorry for
the duplicate.
 
×

מיכ×ל (מיקי) ×בידן

If you don't mind using a tiny macro - check out this:
------------------------------------------------
Sub CloseAndSaveOpenWorkbooks()
Application.ScreenUpdating = False
For Each WB In Workbooks
If Not WB.ReadOnly Then WB.Save
If WB.Name <> ThisWorkbook.Name Then WB.Close
Next
ActiveWorkbook.Close
Application.ScreenUpdating = True
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top