none
Copy a Sheet from an Excel to another ¿is this possible? RRS feed

  • Question

  • Hi everyone,

    I'm quite new with SDK and I was trying to copy a sheet from an Excel file stored in a SharePoint library to another Excel, also stored in SP. I'm doing this from a Windows form application, using the .NET client object model for SharePoint and the Open XML SDK 2.0

    First, I was  saving both (source and target) files to a temp folder. After adding the sheet, the target Excel crashes.

    After this, I try to load the target file in a stream, and I'm able to add a new sheet (empty), however, I can't add the sheet recovered from te source file. I was googling but I was not able to find any example of this, so I'm not sure if this is possible with SDK or I should find a different solution.

    Thanks in advance an sorry for my english,

    Wednesday, June 17, 2015 7:25 AM

Answers