Naming Conventions

Indentation to programming is essential for reading and debugging code.

The following shows the above conventions.

Sub CLOSE_BOOKS()
    For Each BOOK In Workbooks
           If Left(UCase(BOOK.NAME), 4) = "BOOK" Then
              BOOK.Saved = True
              BOOK.Close
           End If
    Next
End Sub

list hyperlinks