Advertisement
Guest User

Untitled

a guest
Feb 13th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. Public Sub CloseAllWindows()
  2. Dim d As Document
  3. For Each d In Application.Documents
  4. d.Dirty = False
  5. d.Close
  6. Next d
  7. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement