Thanks, Antonio. I think I may have made the attached spreadsheet example too simple. As you can see from the original code above, the validation formula needs to be dynamic rather than static...meaning the drop down list it displays must change based on the value in the cell two cells above it. Hence my use of the =CHOOSE(MATCH... function in the validation formula. In the spreadsheet example I attached previously, it means for example that the contents of cell F20 can change between TypeOne, TypeTwo or TypeThree depending on user input, and the formula for the drop down list in cell F22 must account for this variability. This is so for every 32nd cell beginning with F22 through F1270.
In this example, assume the TypeOne and TypeTwo range names have already been created and are in use in the existing validation formula. The purpose of my code is to go into the validation formula and add the range name TypeThree so that its contents will also be made available in the drop down list in F22 when TypeThree appears in cell F20, such that when the contents of cell F20 change, the contents of the drop down list selection in F22 change. This presumes that the range name TypeThree has already been created in the spreadsheet so it is a valid range.
Again, the validation formulas for each of the 40 cells between F22 and F1270 are identical except for the cell address being referenced by the MATCH function (cell F20 for cell F22, cell F52 for cell F54, etc.).
I still receive the run-time error 91: "Object variable or With block variable not set."
Let me know if this further explanation helps.
Matt
Bookmarks