[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1921
  • Last Modified:

Can you collapse an Organization Chart in Visio 2003 to just show a specific postion, example - Vacancy?

Is there a way in Visio Professional 2003 in an Orgznizational Chart to be able to show just one specific position type?  If someone wanted to see JUST "vacancy" positions is there a way to collapse everything else down so just those positions show?
0
karaflanagan
Asked:
karaflanagan
1 Solution
 
Scott HelmersVisio Consultant, Trainer, Author, and DeveloperCommented:
I'm not an expert with the org chart add-in, but I can't find a way to do what you're asking for.

However, it is certainly possible to write a simple macro to highlight shapes based on data values. For example, the attached file contains an org chart with several different types of shapes. The drawing also contains a macro that will turn all vacancies yellow. To run the macro, select
   Tools/Macro/ThisDocument/SetVacancyColor
from the Visio main menu. (Run ClearVacancyColor to set everything back to white.)

The choice of yellow was totally arbitrary -- you can pick any color you'd like. Also, it would be possible to make the macro smarter so you can select the type of shape you'd like to highlight rather than automatically highlighting vacancies. Nevertheless, this should give you some ideas.

NOTE 1: For future reference, Visio 2007 includes a feature called data graphics that offers a variety of methods for highlighting shapes based on the data they contain. One of the options is called "Color by Value". It allows you to apply your choice of colors to shapes, based on the data values in the shapes. In essence, it does automatically what we had to write a macro to accomplish in Visio 2003.

NOTE 2: For historical reasons, Experts Exchange doesn't allow upload of Visio files (*.vsd), consequently, I changed the file extension of the attachment below to .txt. After you download the file, change the file extension back to .vsd and you'll be able to open the drawing with Visio.

Org-chart-shape-color-by-type.txt
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now