Home » Archive by Category

Articles in Code

Stress Test: Nesting “IF” Functions in the ShapeSheet
July 10, 2010 – 1:16 pm | No Comment | 1230 views
Stress Test: Nesting “IF” Functions in the ShapeSheet

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!

Using Visio 2010 Containers & Lists to Create Server Drilldowns with Excel Data
June 5, 2010 – 4:41 pm | No Comment | 3546 views
Using Visio 2010 Containers & Lists to Create Server Drilldowns with Excel Data

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!

What’s My Shape’s ID?
July 15, 2009 – 10:50 am | 2 Comments | 6493 views
What’s My Shape’s ID?

Find out what Sheet.1, Sheet.27 and Sheet.362 are called.

Automatically Number & Connect Shapes – With Code!
July 13, 2009 – 9:22 am | 7 Comments | 6302 views
Automatically Number & Connect Shapes – With Code!

Connect shapes in numerical-order at the press of a button! Then download the VBA code to see how it’s done!

Send All Connectors to Back
June 17, 2009 – 7:02 am | 2 Comments | 6505 views
Send All Connectors to Back

Stop “Shift + Clicking”. Start selecting all connectors on the page USING CODE. Then do something to them!

VBA Class Property Generator
May 20, 2009 – 7:58 pm | 2 Comments | 5288 views
VBA Class Property Generator

Stop typing “Property Let”, “Property Get” over and over and over. Let our VBA code do it for you.

Data Refresh on Open
May 13, 2009 – 6:56 am | 9 Comments | 6419 views
Data Refresh on Open

Refresh your Data each and every time you open your Visio 2007 Professional Data-Connected Diagramme

Analyze Connectivity Between Process Flows
April 22, 2009 – 6:45 am | One Comment | 5129 views
Analyze Connectivity Between Process Flows

Learn how VBA code can be used to detect connections between shapes and traverse paths through diagrams.

Path Analysis in Visio
April 8, 2009 – 7:57 pm | 8 Comments | 13339 views
Path Analysis in Visio

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!

Trilogy-meter Data Graphics Part III
February 25, 2009 – 2:00 pm | 5 Comments | 5191 views
Trilogy-meter Data Graphics Part III

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 …

Improving Visio’s Save As Web Feature
September 29, 2008 – 10:57 am | No Comment | 7974 views
Improving Visio’s Save As Web Feature

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.

Save Time & Simplify Your VBA Code With CallByName
June 23, 2008 – 10:02 pm | 11 Comments | 10179 views
Save Time & Simplify Your VBA Code With CallByName

Learn how to re-use your code, save time, and work more efficiently by using VBAs CallByName method!

European Cup 2008 Auto-Updating Visio Diagram (v2)
June 21, 2008 – 8:49 am | 2 Comments | 7466 views
European Cup 2008 Auto-Updating Visio Diagram (v2)

UPDATE!
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 …

European Cup 2008 Auto-Updating Visio Diagram
June 9, 2008 – 1:49 pm | 22 Comments | 11873 views
European Cup 2008 Auto-Updating Visio Diagram

Visio is a natural choice for creating brackets for sports tournaments.
I have seen many elimination-tournament diagrams created in Visio over the years. In fact, just a few years ago, a very nice example was done …

Detect Sub-selected Shapes Programmatically
May 17, 2008 – 11:42 am | 4 Comments | 6349 views
Detect Sub-selected Shapes Programmatically

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!

Understanding Arc-Resize Problems in Visio
April 28, 2008 – 10:16 pm | 6 Comments | 7210 views
Understanding Arc-Resize Problems in Visio

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!

Connect All Shapes to Each Other
March 17, 2008 – 4:59 pm | 9 Comments | 12067 views
Connect All Shapes to Each Other

If you’re a developer, looking to create Visio-based solutions, then you’re going to need to programmatically connect Visio shapes together. Wouldn’t be nice to have a snippet or two to start from?
Today’s post shows you …

Edit Visio Masters Programmatically…the Right Way!
February 25, 2008 – 2:19 pm | 26 Comments | 10834 views
Edit Visio Masters Programmatically…the Right Way!

If you are busy developing a Visio solution, you might run into the situation where you need to edit a Visio master using code.
Like any application that has survived the ages, Visio has its share …

Circular Text Generator (version 2)
January 5, 2008 – 8:14 pm | 31 Comments | 26198 views
Circular Text Generator (version 2)

Getting text on a circle in Visio was always a pain until the Circular Text Generator (version 1) appeared on Visio Guy. V1 was evidently a big hit, but you wanted more! Version 2 adds …

Text to the Bottom of the Shape
November 7, 2007 – 4:07 pm | 3 Comments | 11840 views
Text to the Bottom of the Shape

A Visio newsgrouper recently pointed out that in Visio, inserted images have a different default text position than normal shapes. For images, the text is located at the bottom of the shape, and text “grows” …

LengthIU Bug Workaround Code
October 20, 2007 – 12:14 pm | 8 Comments | 7265 views
LengthIU Bug Workaround Code

Visio 2003 has a defect in the LengthIU property of a Shape object. This article discusses the bug, describes a work-around, and offers Visual Basic code to help you get back on track!

Circular Text Generator (version 1)
October 18, 2007 – 5:28 pm | 29 Comments | 23228 views
Circular Text Generator (version 1)

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!

Customized Visio HTML Export
August 24, 2007 – 12:33 pm | 9 Comments | 17521 views
Customized Visio HTML Export

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.

Sales Force Automation With Visio
June 3, 2007 – 6:30 am | 17 Comments | 14371 views
Sales Force Automation With Visio

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!

Run VBA Code When Documents Open
May 25, 2007 – 6:25 am | 2 Comments | 18476 views
Run VBA Code When Documents Open

Learn a better way to get VBA code to run when your documents open.

VBA Macro Security
May 17, 2007 – 10:35 am | 20 Comments | 21596 views
VBA Macro Security

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.

Integrating Visio 2007 with Microsoft Technologies
May 11, 2007 – 4:08 am | One Comment | 13226 views
Integrating Visio 2007 with Microsoft Technologies

Visimation Inc. has written some fabulous articles for MSDN about integrating Visio with Access, Excel, Active Directory, SQL Server, MOM, Exchange, Reporting Services and SharePoint.

Data Graphics Resources
May 4, 2007 – 3:04 pm | 12 Comments | 13730 views
Data Graphics Resources

Find out about resources for using, developing and customizing the exciting new Data Graphics in Visio 2007.

Visio 2007 Demo Videos
April 10, 2007 – 9:35 pm | 8 Comments | 14049 views
Visio 2007 Demo Videos

Watch some instructive videos on how to use the cool new features of Visio 2007.

Visio and Xml Conference Resources
November 30, 2006 – 7:11 am | 16 Comments | 8039 views
Visio and Xml Conference Resources

Get links to presentations, articles and samples that show Visio’s xml features and capabilities.

Polyline Shape Maker
November 27, 2006 – 7:05 am | 3 Comments | 11103 views
Polyline Shape Maker

Learn about the ShapeSheet’s POLYLINE function and PolyLineTo row type, and how they can work to make your shapes smaller and faster. Download the VBA code that will help you poly-line-ify your shapes with the click of a button!

Polygon Maker
November 24, 2006 – 4:10 pm | 3 Comments | 11101 views
Polygon Maker

Download a Visio diagram that contains VBA code to help you create polygon shapes with any number of sides.