Hi,

I am trying to load different mhtlm files from an external application to a Excel workbook doing the following:

for(var i = 1; i <= cnt; i ++)
{
var sFilePathMHTML = sTempDir + "\\temp" + i + ".mhtml";
objExcel.Workbooks.Open(sFilePathMHTML).Sheets.Item(1).Move(objWorkbook.Sheets.Item(i));
}

I get everything loaded except that the colors of my cells are all different from the originals. I tried to convert the mhtml files to xls first but got exactly the same outcome.

Any idea why?

Thank you.

LD