Infosys Interview Question

How will you connect excel sheet. write down the code