Visio Organization Chart from Access

Posted on 2009-02-12
Last Modified: 2013-11-27
I have an Access DB. I would like to be able to generate a Visio Organization Chart from my Access project with the press of a button. Anyone know the code that I would need to run in Access?

Question by:VoodooFrog
    LVL 30

    Accepted Solution

    As you may know, Visio's organization chart wizard can read data from an Access database to create a chart. To view the necessary visio code to accomplish this, I would suggest startiing in Visio: turn on the macro recorder then launch the org chart wizard. Complete the wizard then ALT+F11 to view the macro code.

    If you want to run this code from Access, you can set a reference to Visio in your Access project and should be able to adapt the Visio code to run in that environment.

    If you need more specifics on the Visio side, just let me know.

    LVL 46

    Expert Comment

    Hi VoodooFrog,

    In Visio 2007 the command is Tools - Add-Ons -Visio Extras -Database Wizard.
    Have a look at

    Good Luck!


    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
    Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
    In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now