Workbook.CreateBackup property (Excel)
True if a backup file is created when this file is saved. Read-only Boolean.
expression A variable that represents a Workbook object.
This example displays a message if a backup file is created when the active workbook is saved.
If ActiveWorkbook.CreateBackup = True Then MsgBox "Remember, there is a backup copy of this workbook" End If
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.