Hi
I do see some samples that says we can use Infragistics.Excel to work with MS Excel objects.
My requirement is that after exporting the Grid to Excel (excel1.xls), I want to read excel2.xls and paste few content on excel1.xls. Below is the code that I used with MS Excel Object Lib 11.0 But for some reason, I get automation error on the server (it runs just fine on my development machine). So, thought of using Infragistics.Excel for this simple purpose. Would you please help to get Infragistics.Excel equivalent?
oBOMDataWB = oXL.Workbooks.Open(strDataXLPath) 'grid exported data
oXLTemplateWB = oXL.Workbooks.Open(strTemplatePath) 'Template that has logo image and format.
oBOMDataWB.Sheets(1).Paste()
'Hide the header data rows
oRange.EntireRow.Hidden = True
oBOMDataWB.Save()
oBOMDataWB.Close()