« Just for starters | Main | Hiding Pages »

Tuesday, 06 November 2007

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e54ede3f24883300e54f8f035c8834

Listed below are links to weblogs that reference Looping through:

Comments

Dirk

Formula should be replaced with FormulaU in the examples. Otherwise running them on systems with a different localisation than English may fail with error -2032464666.

mark atkinson

John, i've read a bit of your blog (very well done). A random question. Can you reference me to an addin, or source code, which will create an organizational chart without using the standard add in? I am using 2007 standard (and I can not upgrade to premium due to corporate IT) so have written code to link an Access database to an org chart. I now need to dynamically create a series of org charts on the fly from the database. the trouble is that as far as i can tell, the Visio standard addin can not be called with VBA code and must be done manually, which does not work in my particular workflow.

Any suggestions here?

John Goldsmith

Hello Mark, Actually addons can be called from VBA. Have a look at the 'Run' method on the Addon object:
http://msdn.microsoft.com/en-us/library/ff765587.aspx
and this example where I use it call the Org Chart addon:
http://msdn.microsoft.com/en-us/library/ff765587.aspx

I see you've aready been pointed towards a couple of non-org chart options which provide an alternative.
Does that help?

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.

Visio MVP

  • MVP

TWITTER

  • FollowMe

MAIN ARCHIVE PAGE

  • Archive page
Blog powered by TypePad