Hi team,
when using a visio template; I would like it to:
1. pop up a form to collect information eg project name etc
2. put this information on the page in the title block of the template.
3. when I save the document the popup form is disabled.
I would like to use VB.NET as I have access to VS 2013.
what is the best way to approch this ?
does anyone have examples as I don't have allot of experiance doing this.
cheers,
dg
For this Visio's own VBA is more than sufficient. I wouldn't use VS for this (a simple Popup form), as it only adds complexity. Even if you have more in mind, that will need VS later on, it would be a good start to try VBA first, to learn Visio's object model.
- Add a form in the VBA-Editor.
- Open that form when creating a new drawing from the template (DocumentCreated-Event).
- When closing the form, write the values of the edit boxes or fields on the form into some page's ShapeSheet cells.
- Display that ShapeSheet cells in the boxes of a title block.
Hi Jumpy,
thanks for the prompt reply.
I'll give VBA a go.
cheers,
dg