Visio Guy

Visio Discussions => Programming & Code => Topic started by: berni on November 22, 2016, 09:34:59 AM

Title: How to display VBA code in Visio
Post by: berni on November 22, 2016, 09:34:59 AM
Question: Is it possible to display VBA code automatically in Visio?

I am using Visio since one year and I asked myself if there is a possibility to let Visio (e.g. Visio 10) generate and plot the logic of a VBA source code.
One simple illustration is e.g. by plotting a diagram with nested IF > THEN, SELECT CASE, END IF functions written in VBA.

Thanks for answers.
Cheers, berni
Title: Re: How to display VBA code in Visio
Post by: wapperdude on November 22, 2016, 03:36:06 PM
Short answer:  no.

You might want to check this link:  https://msdn.microsoft.com/en-us/library/ee317485.aspx#Generating (https://msdn.microsoft.com/en-us/library/ee317485.aspx#Generating)

Also, Google code flow diagram, code sequence diagram.  There seems to be a lot of topics on this. 

Wapperdude
Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 44 (show)
Files included: 25 - 925KB. (show)
Memory used: 766KB.
Tokens: post-login.
Cache hits: 7: 0.00160s for 22,301 bytes (show)
Cache misses: 1: (show)
Queries used: 9.

[Show Queries]