Using OpenXML, how can I associate a list for data validation
问题 I am processing an .xlsm file and need to know how to use a list on another sheet for data validation using openXML and C#. To start, I have a .xlsm file with two empty sheets and macros in it. In my program I open the file, Create the column header on Sheet1 then create the validation list on sheet2. So, after I run my program Sheet1 "A1" contains the text "Color" and Sheet2 "A1:A4" contains "Blue","Green","Red","Yellow". I get this far just fine. I would like to make it so there is a