We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Change of VBA module name is crashing

Hi Aspose team,

when I try to change VBA module name I am getting:

Message: Object reference not set to an instance of an object.Source: Aspose.CellsStack File: at Aspose.Cells.Vba.VbaModule.set_Name(String value)

Can you please check attached project?

Excel.VBA.Name.Crash.zip (262.2 KB)

Thanks,
Oliver

@dr.doc,

Thanks for the sample project with template file.

After an initial test, I am able to reproduce the issue as you mentioned by using your sample code with your template file. I found an exception “Object reference not set to an instance of an object” when replacing the VBA module name. I have logged a ticket with an id “CELLSNET-47045” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

@dr.doc,
This is to inform you that we have fixed your issue (logged earlier as “CELLSNET-47045”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@dr.doc,

Please try our latest version/fix: Aspose.Cells for .NET v19.11.8 (attached).

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells19.11.8 For .Net2_AuthenticodeSigned.Zip (5.0 MB)
Aspose.Cells19.11.8 For .Net4.0.Zip (5.0 MB)

Just to confirm that problem is resolved.
Thanks for quick resolution,
Oliver

@dr.doc,

Good to know that your issue is resolved by the new fix/version. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.

The issues you have found earlier (filed as CELLSNET-47045) have been fixed in Aspose.Cells for .NET v19.12. This message was posted using Bugs notification tool by Amjad_Sahi