Infosys interview question

How will you connect excel sheet. write down the code