Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Fri Apr 20, 2018 2:23 pm

I am trying to delete column using workbook.DeleteColumn(index) but it doesn't delete the column and shows some error after generating the excel as need to format the excel.
After using the SaveTofile() method also it is not working

soumyam
 
Posts: 8
Joined: Fri Apr 20, 2018 11:13 am

Mon Apr 23, 2018 1:53 am

Hello,

Thanks for your post. After an initial test with Spire.XLS Pack(Hotfix) Version:8.4.6, I was unable to reproduce the issue. Please use the version and try again. If you still encounter the issue, please share us with your Excel file and full code for further investigation.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Mon Apr 23, 2018 8:05 am

Hi ,

Thanks for the reply i am using spire 7.4.7.7040.Do i have upgrade to latest package or is there any work around?

soumyam
 
Posts: 8
Joined: Fri Apr 20, 2018 11:13 am

Mon Apr 23, 2018 9:16 am

Hello,

Please first update to the latest version and give it a try. In case the issue still exists, please share us with your input Excel file and full code.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Mon Apr 23, 2018 3:08 pm

Hey Simon,

Thanks for quick response and tried with latest spire version but facing the same issues.
Cannot share the file but there is a formatting existing for all the columns so do i have to clear the filter and clear the formatting before deleting the column?

soumyam
 
Posts: 8
Joined: Fri Apr 20, 2018 11:13 am

Tue Apr 24, 2018 3:00 am

Hello,

Thank you very much for your details. I encountered a 'System.NullReferenceException' when saving the document after deleting the column that had filter. I have logged the issue into our bug tracking system. If any update, we will let you know.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Thu May 03, 2018 10:07 am

Hi Simon,

Thanks a lot i was also getting the same exception and please let me know if you guys have any work around or fix in the future versions.

Regards,
Soumya

soumyam
 
Posts: 8
Joined: Fri Apr 20, 2018 11:13 am

Thu May 03, 2018 10:13 am

Hello Soumya,

Thanks for your inquiry. The issue has been fixed and it's at the test stage. Once the new version is available, we will inform you.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Thu May 03, 2018 2:00 pm

Thanks a lot :)

soumyam
 
Posts: 8
Joined: Fri Apr 20, 2018 11:13 am

Thu May 10, 2018 9:39 am

Hello,

The new version(Spire.XLS Pack(Hotfix) Version:8.5.1) is available now. Please download it and have a try.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Mon May 14, 2018 3:06 am

Hello,

Has the hotfix resolved your issue?
We will appreciate it if you could give us some feedback.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Wed May 16, 2018 9:39 am

HI Simon,

I will try the new version and let you know thanks for your help and support.

Regards,
Soumya

soumyam
 
Posts: 8
Joined: Fri Apr 20, 2018 11:13 am

Tue May 29, 2018 7:38 am

Hi,

I have downloaded the latest Spire version and the issue is fixed. Thanks for helping out.You saved me :)

soumyam
 
Posts: 8
Joined: Fri Apr 20, 2018 11:13 am

Tue May 29, 2018 7:47 am

Hi Soumya,

Glad to hear that the hotfix has resolved your issue. It's my pleasure. If there is any other question, please feel free to contact us.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Return to Spire.XLS

cron