We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Save existing XLSM file as new XLSM file cause missing lookup.

Thread ID:

Created:

Updated:

Platform:

Replies:

113611 Oct 2,2013 12:14 AM Oct 3,2013 06:50 AM ASP.NET Web Forms (Classic) 1
loading
Tags: XlsIO
izzwan
Asked On October 2, 2013 12:14 AM

Below is the code that is used to read and save XLSM file:
HttpPostedFile pf = fupUpload.PostedFile;
FileInfo fi = new FileInfo(pf.FileName);
Stream stream = pf.InputStream;

ExcelEngine ee = new ExcelEngine();
IApplication application = ee.Excel;
application.SkipOnSave = SkipExtRecords.None;
application.SkipOnSave = SkipExtRecords.CopySubstreams;
IWorkbook wb = ee.Excel.Workbooks.Open(stream, ExcelOpenType.Automatic);
wb.SaveAs(@"C:\\Testing.xlsm", ExcelSaveType.SaveAsTemplate);

But after save, the new xlsm file will lose the lookup data that exists in the previous xlsm.
I am using the latest Trial Version, 11.3.0.30.
Is there anything that I missed in the code?

Sridhar [Syncfusion]
Replied On October 3, 2013 06:50 AM

Hi Izzwan ,

Thank you for using Syncfusion products.

We are unable to see the reported issue at our side with the simple excel file. Could you please udpate us with the xlsm input file which loses the VLoop data so that we are able to proceed further on this issue.

Please let us know if you need any further assistance.

Regards,
Sridhar.S


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;