If the sheet mentioned on the message box does not change colors, then VBA is overridden by the theme.
Please perform another test; apply some conditional formatting, such as cells turning green if the value is above zero, and see if the color displays correctly.
If the CF color displays correctly, use this procedure:
- Select all worksheet cells
- Go to conditional formatting>new rule>use formula> “=TRUE”
- Choose a format with white background and grey cell borders
- If you need to perform this action multiple times, VBA can be employed.
Yes, unless you have some VBA to do it for you. I will prepare the code.
There will be some code in the personal macro workbook. Running it, which is a one-click procedure, will format all worksheets on all open workbooks.
Is this a suitable solution for you?
' Module1 or equivalent
Sub Auto_Open()
MsgBox ThisWorkbook.Name & " was just opened.", 64, "Excel launched"
End Sub
********************************************
' ThisWorkbook module
Private WithEvents App As Application
Private Sub App_NewWorkbook(ByVal Wb As Workbook)
MsgBox "New Workbook: " & Wb.Name
End Sub
Private Sub App_WorkbookOpen(ByVal Wb As Workbook)
MsgBox "Opened: " & Wb.Name
End Sub
Private Sub Workbook_Open()
Set App = Application
End Sub
If you’re always using Excel to work on the same workbook or create new workbooks based on the same template. You can set Excel to open that workbook or template when it starts.
To open the same workbook every time you start Excel, in the File menu click > Save as > Computer, Browse and then browse to the XLSTART folder.
- In a clean install of Windows Vista and later, the path to the XLSTART folder is usually:
Office 2013 – C:\Users\(User name)\AppData\Microsoft\Excel\XLSTART
Office 2013 C2R – C:\Users\(User name)\AppData\Microsoft\Excel\XLSTART
Note: If your workbook or template contains a macro that automatically runs when the workbook is opened, such as Autpen. By default that macro will also run when you start Excel.
- If you upgraded from another version of Windows, the path could also be:
Office 2013 – C:\Program Files\Microsoft Office\Office 15\XLSTART
Office 2013 C2R – C:\Program Files\Microsoft Office 15\root\Office 15\XLSTART