I have a simple Excel spreadsheet with headers and rows like the example below. All of the cells under columns 1,2, and 3 have a cell color but do not have any cell content.
If, as the example below shows, column3 exists for Item2, then the appropriate cell for Item2 under Col3 is a different color than the other cells.
| Col1 | Col2 | Col3 | --------------------------- Item1| | | | Item2| | | |
My questions are: is there a way to export the spreadsheet to a CSV file so that any cell colored differently from the other cells is preserved in the CSV file? If not, is there a way to get Excel to export the actual cell background colors into the CSV?
I plan on importing the CSV into a database. I could run if/then cases for any kind content I can force Excel to export to CSV, like a bit (1) or varchar (FF0000).
Thank you for your help! It's much appreciated!