Written by Allen Wyatt (last updated February 4, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021
Michael has a workbook that he created using Excel 2007. If he opens the workbook on a system using a later version of Excel (such as Excel 2013), then all conditional formatting is erased in the workbook. Michael wonders why this would be happening.
More than likely, this is a compatibility issue rearing its head. Open the workbook in Excel 2007 and check to see if it is saved in "compatibility mode." If it is, use Save As to save in native Excel 2007, most likely in XLSX format. Then, open the file in Excel 2013 and see if the same problem exists.
If it does still exist, then see if you can find someone using Excel 2010 and try opening the workbook in that version. If the problem is not evident, then use Save As on that system to save as a new workbook, again making sure you don't use compatibility mode. You can then try, again, opening in Excel 2013.
If the problem still manifests itself, it is probably time to think long and hard about biting the bullet and upgrading to a much more recent version of Excel and recreating the workbook from scratch. (Nobody likes to do such recreation, but sometimes it is necessary.)
This tip specifically addresses Michael's case, where he references moving a workbook from Excel 2007 to Excel 2013. It is equally applicable, however, if you are wanting to move a workbook to a much later version of Excel. The same process—to incrementally move the workbook from one version to the next later version—should be followed. Of course, if you need to "step" a workbook through four or five different versions of Excel, you might find the hassle in doing so to be more work than simply recreating the workbook in whatever version of the software you happen to be using.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13021) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.
Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!
Have you ever tried to save a workbook, only to be notified that someone else has made changes in it? What if you are the ...
Discover MoreIt is a difficult task, in Excel, to determine if a workbook is the target of any external links. This tip examines some ...
Discover MoreIf Excel thinks a workbook should not be changed, there is a good chance it will be opened as read-only. This tip looks ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2023-02-05 10:07:42
J. Woolley
@Fred Burg
Even if you don't have access to your previous version of Excel, you might still have success with the CFBackup and CFRestore macros and/or the ListFormatConditions function described in my previous comment when you use them with your current version.
2023-02-05 09:59:09
J. Woolley
My Excel Toolbox includes macros to backup and restore the active sheet’s conditional formatting. Michael could run CFBackup with his workbook opened in Excel 2007, then run CFRestore with his workbook opened in Excel 2013 (or later). For more about CFBackup and CFRestore, see my comment dated 2021-08-14 at the bottom of the following Tip's comment section: https://excelribbon.tips.net/T001143
The following dynamic array function is also available in My Excel Toolbox:
=ListFormatConditions([AllSheets],[SkipHeader])
This function returns Applies To Range, Type, and Stop If True for each CF. When using pre-2021 versions of Excel without support for dynamic arrays, consider UseSpillArray.pdf.
See https://sites.google.com/view/MyExcelToolbox/
For related discussion, see https://excelribbon.tips.net/T006253_Copying_Conditional_Formatting.html
2023-02-04 14:15:54
Fred Burg
WIth respect to your tip on a workbook losing all conditional formatting, I have a similar problem. I have workbooks created in Excel 2003. I have now migrated to 2010 (well, a few years ago). When I open the 2003 workbook in 2010, I see that the conditional formatting in SOME/MANY (but not all) is lost. But when I open the "Manage Rules", it appears that the conditional formatting does, in fact, apply to the cell where the conditional formatting had been lost. Any clues?
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments