Hello,
I am currently trying to generate an organization chart from an Excel workbook.
First part works great, the org chart is generated and runs through different levels.
Now what I want to do is have all the contractors stand out and appear with dashed boxes; the User.ShapeType is the property defining this.
So what I am trying to do is open the document stencil, edit the master shape (currently called position) by entering the shapes's properties. Setting the User.ShapeType formula to =IF(Prop._VisDM_Contractor="Yes",3,2); _VisDM_Contractor being a property set by Excel. I then add this property to the master shape since its not set yet.
If the object has the property _VisDM_Contractor set to Yes then I want the User.shapeType to switch to 3 instead of 2 (default value).
I manage to do this for one box but not on the master shape. When I try and do it on the master shape everything goes okay, I say YES to apply to the rest of the shapes currently in place, but it does not work.
So I must be doing something wrong, I have checked other topics on this forum (
http://visguy.com/vgforum/index.php?topic=239.0) but they have not worked for me.
Any help would be greatly appreciated.
Cheers,
Alex.