I have an excel file having some sheets like below. I'll ask the user which sheet he wants. Then what are the columns you need in the new Excel File. eg. In my excel, I ask the user to select between Name, Code, DOJ, Designation. If he selects Name and Code column, then that should create a new Excel file having Name and Code value and saves accordingly.
So what I did was, i created a list which stores the user selected columns. I'm stuck after that on how to check.

Kindly help me in resolving this issue.
Thanks in advance.