Articles in Code
Learn how to navigate pages in Visio documents like a pro!
There’s a new book on data visualization with Visio. And it is probably as good as its title is long!
Watch these videos on Visio developer-related topics to learn how Visio works under-the-hood, and control it programmatically!
A user recently asked a question in the forum; “How can I (programmatically) delete all but one shape on a Visio page?” While I answered the question directly in the forum, I thought I’d expand …
If you create Visio documents with lots of pages, you probably like to quickly flip through all of them to check for visual consistency.
But if each page has been zoomed or panned, it can be …
What if you could click a button and have Visio notify you if a drawing was incorrect, had errors, or did not follow your company’s standards?
Visio 2010 offers this capability, and more information is coming …
A Visio Guy forum member asked the question: “How many nested IF statements can I stuff into a ShapeSheet formula?”
“Good question!”, I thought and went off to investigate!
Learn about new features in Visio 2010 that will help you to build better network rack diagrams, and download code to help you automate the process!
Find out what Sheet.1, Sheet.27 and Sheet.362 are called.
Connect shapes in numerical-order at the press of a button! Then download the VBA code to see how it’s done!
Stop “Shift + Clicking”. Start selecting all connectors on the page USING CODE. Then do something to them!
Stop typing “Property Let”, “Property Get” over and over and over. Let our VBA code do it for you.
Refresh your Data each and every time you open your Visio 2007 Professional Data-Connected Diagramme
Learn how VBA code can be used to detect connections between shapes and traverse paths through diagrams.
Download a Visio file packed with sample VBA code that will help you understand not only connectors and connecting in Visio, but also path analysis as well!
Today, we continue with the movie-trilogy theme, but concentrate on advanced tips for importing and working with multiple shapes automatically.
This is the third and final piece in our trilogy of articles on Visio data graphics …
When you Save As Web with Visio, you create a subdirectory full of small files, just begging to be modified. This article points you to resources that will help you to understand and work with those files so that you can get Save As Web to do what you really want it to do.
Learn how to re-use your code, save time, and work more efficiently by using VBAs CallByName method!
Hey football/soccer fans! We’ve got an update to our automated smart drawing for this years European Cup soccer tournament.
Perhaps you are familiar with the first version, which can be found here: European Cup 2008 …
Track your favorite soccer/football teams for the 2008 European Cup with this semi-automatic Visio bracket.
It’s easy enough to get the set of selected shapes in Visio using code. But if the user has sub-selected some shapes, they won’t show up in your Selection object without a bit of tweaking. Learn how to detect ALL of the selected shapes in this article!
If you’ve ever drawn arcs in Visio, then grouped them together, you may have noticed that they behave oddly when you resize the group. In this article, we’ll explain why this happens and how to fix it. You’ll also learn about the two shape interaction styles that Visio shapes have: 1D and 2D shapes!
Learn how to program Visio to connect shapes together, and learn from this example–in both VB and C#!
Editing Visio master shapes via code seems straightforward, but it’s not…if you want to do it correctly.
Download this improved version of the circular text generator and make your text go in circles.
Use this Visual Basic code snippet to quickly move text blocks to the bottom-center of your shapes.
Learn about a bug in the Shape.LengthIU method and solutions for how to work around it.
Finally, you can add text to a circle inside of Visio! This is first version of a series of tools to help you get your Visio text out-of-line!
Download a Visio document that lets you add “hot spot” shapes to a diagram, then export an HTML page that provides mouse-over pop-up functionality corresponding to the hot spot locations.
Play around with the venerable Candy Equipment Manufacturing demo that simulates a sales-automation scenario with Visio, and showcases SmartShape technology, database integration, MS Excel integration, Visual Basic for Applications (VBA) automation code, Database Wizard applications, Custom Patterns, Layers and more!
Learn a better way to get VBA code to run when your documents open.
Putting Visual Basic for Applications (VBA) code behind your Visio documents is convenient and powerful, but can be a security risk when mis-used. Learn the ins and outs of Microsoft’s built-in macro security features.