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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





113611 Oct 2,2013 04:14 AM UTC Oct 3,2013 10:50 AM UTC ASP.NET Web Forms (Classic) 1
Tags: XlsIO
Asked On October 2, 2013 04:14 AM UTC

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,
Is there anything that I missed in the code?

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

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.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon