Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Sub CloseAllWindows()
- Dim d As Document
- For Each d In Application.Documents
- d.Dirty = False
- d.Close
- Next d
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement