I have added dropdowns in some columns in excel sheet using Apache poi. When one of the drop down values contains character hyphen (-), then on opening the excel sheet, it gives error - We found a problem with some content in "Text.xlsx".
Without hyphen, all works fine. My code of creating dropdown is same as the accepted solution mentioned for this question -Limitation while generating excel drop down list with Apache POI
Please suggest some solution.