Hi, I am trying to see if ASPOSE.total library can export an Excel Sheet into a page within a word doc. Please shared any samples you can guide or confirm this is available within the library.
Thank you!
Hi, I am trying to see if ASPOSE.total library can export an Excel Sheet into a page within a word doc. Please shared any samples you can guide or confirm this is available within the library.
Thank you!
Hi,
DocumentBuilder builder = new DocumentBuilder(doc);
Stream memoryStream = File.OpenRead(MyDir + “Book1.xls”);
Shape oleObject = builder.InsertOleObject(memoryStream, “Excel.Sheet.8”, true, null);
doc.Save(MyDir + @“out.docx”);Thanks for your reply Amjad,
My problem is reading from existing Excel Workbook (ASPOSE) and supplying it via builder.insertOleObject method which its looking for inputstream. Can you tell me how I can take an existing Excel Workbook object (ASPOSE) and choose a sheet (#3) and insert it via OLE (editable) word doc?
I am not sure if we can read existing workbook and be able to choose the excel tab to insert via the insertOleObject method.
Hi,
I am already using ASPOSE.cell to get my Workbook. I need to be able to select a few excel tab from the workbook getWorksheets into the word doc. I need to know if we can do that and paste it into using DocumentBuilder with insertOleObject method.
How do I selectively read the ASPOSE workbook and select the tab I need into input stream. There is no method I can see in the ASPOSE.cell library to convert into input stream. Please advice
Hi,