The Excel file won’t be effected with cell borders. Just select the whole grid content in Excel and select "All Borders" from Border(can be selected from Home tab of MS Excel). It will automatically retain the Merged cells and borders.
Regards,
Sarath,
+919645809996