Application.EnableCheckFileExtensions property (Excel)
True to enable the Tell me if Microsoft Excel isn't the default program for viewing and editing spreadsheets dialog box. Read/write Boolean.
expression A variable that represents an Application object.
This example disables the dialog box.
Application.EnableCheckFileExtensions = False
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.