Add VbaModule with VbaModuleType.PROCEDURAL

We are in the process of evaluating Aspose.Cells for Java.

First of all, I want to say - your product is excellent!

I have the following question:
I am testing the addition of vba modules in the vba project of an excel workbook. First of all it works fine.
It seems that these Vba modules are always based on VbaModuleType.DOCUMENT.
Is it possible to modify the VbaModuleType? In my case i want to add a vba module based on VbaModuleType.PROCEDURAL.

If it is not possible, can you tell me when this feature will be probably available ?
Thanks a lot.

Matthias Schlosser


using method add(int type, java.lang.String name) in VbaModuleCollection solves my problem.
Thanks a lot.

Matthias Schlosser


Good to know that your have sorted out your issue now. And, yes, you may choose relevant overload of VbaModuleCollection.add() method where you will provide your desired VbaModuleType constants (i.e., PROCEDURAL, DOCUMENT, CLASS, DESIGNER) and name of the module as parameters for your needs.

Let us know if you have any other issue or comments, we will be happy to assist you soon.

Thank you.