I am running Office 365 on both Windows 11. I am trying to totally close an Excel program from VBA. I tried Workbooks.Close and also ActiveWindow.Close in both instances I still have an Excel program running with no file open. How do I basically do the same thing from VBA as I would manually press the X on the upper right to close the whole thing?
Add a comment
|