Does ASPOSE have solution for embedding Excel Sheet in to word (not as attachment but a viewable cell block in word)?
Can this be done without converting into PDF. My firm doesn’t have aspose PDF license. I am able to insert a excel into word as icon by the following code:
string oWordTemplate = sTemplatePath.TrimEnd(); asWord = new Document(oWordTemplate); DocumentBuilder asBuilder = new DocumentBuilder(asWord); var asShape = asBuilder.InsertOleObject(sExcelFile, true, true, null); asWord.Save(sWordFile);
or even by
Stream memStream = File.OpenRead(sExcelFile); var asShape = asBuilder.InsertOleObject(memStream,"Excel.Sheet.8",true,null); asWord.Save(sWordFile);
But as soon as I turn the isIcon flag false, the doc becomes empty. The mentioned file has only one sheet and also I have attached the desired result word doc.