Hi there Everyone. I have an excel workbook which uses many worksheets. There is a special view when I need to have two windows opened (because I need to see two worksheets at once). Also for easier usage I made a userform which helps people to choose the views. I would like to make a macro which checks how many windows are open, and closes all but one. So basicly closes all the opened windows, and leaves only one and maximizes it. I hope you can help! Thank you very much!