Code patterns for working with Excel files.
Recent revisions are kept. Restoring one creates a new revision.