Add references to document

Hello! Using python aspose.words library. Tell please, how i can add References (VBA Editor → Tools → References) to .docm document? I need to add “Microsoft XML, v3.0” library.
Thanks.

@Hvprvtr

Can you please clarify what specific functionality you are looking for when adding references to a .docm document using Aspose.Words in Python?

@Hvprvtr I am afraid, there is no way to add new references to VBA project using Aspose.Words. You can only get existing references or remove existing references from the project:
https://reference.aspose.com/words/python-net/aspose.words.vba/vbareferencecollection/

Thanks! I will use template document for this.

1 Like