Help!

Excel file into Visio Org Chart wizard formatting

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions RSS
Next:  ecm2001 v5.3 winols shoemaster wilcom bentley ami..  
Author Message
Steve Eagle
External


Since: Mar 23, 2009
Posts: 1



PostPosted: Mon Mar 23, 2009 2:12 pm    Post subject: Excel file into Visio Org Chart wizard formatting
Archived from groups: microsoft>public>visio>general (more info?)

In Visio 2003, when importing an Excel file into the Org Chart wizard, is
there a way to define formatting of the org chart boxes like the color?

There is a field called "Master_Shape" with the numbers 0 thru 6 as options
for each row. However, this only seems to effect the outline and not the
color.

Is there a default template that can be changed so the "Master_Shape"
numbers will map to it?
Back to top
John... Visio MVP
External


Since: Jan 08, 2009
Posts: 41



PostPosted: Mon Mar 23, 2009 6:47 pm    Post subject: Re: Excel file into Visio Org Chart wizard formatting [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Steve Eagle" <Steve Eagle.TakeThisOut@discussions.microsoft.com> wrote in message
news:F0C0A3DD-F947-42B4-810E-0F9C4D9E2D3D@microsoft.com...
> In Visio 2003, when importing an Excel file into the Org Chart wizard, is
> there a way to define formatting of the org chart boxes like the color?
>
> There is a field called "Master_Shape" with the numbers 0 thru 6 as
> options
> for each row. However, this only seems to effect the outline and not the
> color.
>
> Is there a default template that can be changed so the "Master_Shape"
> numbers will map to it?

No there is not, but there is a possible work around.

Add an extra column to the Excel spreadsheet to indicate colour and then
import that into the orgchart. each shape will now have an extra custom
property to indicate colour.

Now the tricky bit. You will need some VBA code to loop through the shapes
on the page and if the shape has a custom property with the same name as the
extra column, you can then change the shapes colour. Your choice as to
whether it is the Line or the Fill colour ( or both )

John... Visio MVP
Back to top
MaineDEP



Joined: Aug 17, 2009
Posts: 1



PostPosted: Mon Aug 17, 2009 12:03 pm    Post subject: [Login to view extended thread Info.]

If you can do this workaround for color, makes sense that you could also do it for any other format parameter -- like box shape & size as well as font and font size.

Do you have some sample code you can pass along to give me an idea of how you would set it up (including specifics on the field in the spreadsheet). I'm not a programmer so the workaround is murky for me.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum