1

When Excel saves a file, it attempts to combine identical Validation settings into a single rule with multiple ranges.

This creates one of three issues, depending on the file type you choose to save:

  1. When saving as a standard Excel file (Office 2000 BIFF), a maximum of 1024 non-contiguous ranges that can have the same validation setting.

  2. When saving as a SpreadsheetML (Office 2002/2003 XML) file, you are limited to the number of non-contiguous ranges that can be represented, comma-delimited in R1C1 format, in 1024 characters.

  3. When saving as an Open Office XML (Office 2007 *.xlsx), there is a maximum of 511 non-contiguous ranges that can have the same validation setting. (I don't have Office 2007, I'm using the file converter for Office 2003).

Once you bust any of these limits, the remaining ranges with the same Validation settings have their Validation settings wiped. For (1) and (3), Excel warns you that it can't save all of the formatting, but for (2) it does not.

  • What is the question? – Lance Roberts Dec 9 '09 at 20:06
  • 1
    Not a question. Just documenting a discovered bug and workaround to the Google Fairy will help the next person. Guess I should add my own answer and accept it. – richardtallent Dec 9 '09 at 20:10
  • I've done that before also, I just try to word the question as a question. +1 for the info. – Lance Roberts Dec 9 '09 at 20:31
2

The workaround is to make the Validation settings for each range somehow different (change the error message, etc.) so Excel does not attempt to combine them. Solution tested in Office 2003 for all three file types, works as expected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.