Visio Guy

Visio Discussions => Programming & Code => Topic started by: alex.hoffenreich on September 30, 2022, 08:00:32 PM

Title: Copy VBProject between files
Post by: alex.hoffenreich on September 30, 2022, 08:00:32 PM
Hi,
I'm trying to copy the VbModules from one vsdm to another.
Sometimes it works, sometimes it doesn't.
Did anyone make a stable VBA code for this?
Title: Re: Copy VBProject between files
Post by: Surrogate on September 30, 2022, 08:52:18 PM
Try this add-in VBA Import/Export Addin/ (https://unmanagedvisio.com/products/vba-importexport-addin/) by Nikolay (http://visguy.com/vgforum/index.php?action=profile;u=380).

(https://unmanagedvisio.com/wp-content/uploads/06-03-2016-0-43-21-768x151.jpg)
Title: Re: Copy VBProject between files
Post by: Nikolay on October 01, 2022, 10:03:17 AM
Just FYI, full source code is here:
https://github.com/nbelyh/VisioImportExportVba