Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am trying to create an organization chart programmatically in excel. I got this code from a previous posting, but adding text doesn't work. I also need to link the boxes together. Can someone please post some code on how to do that? Thanks Dim shDiagram as Shape Dim nodRoot As DiagramNode Set shDiagram = ActiveSheet.Shapes.AddDiagram( _ Type:=msoDiagramOrgChart, Top:=10, _ Left:=15, Width:=400, Height:=475) Set nodRoot = shDiagram.DiagramNode.Children.AddNode nodRoot.TextShape.TextFrame.Characters.Text = "First Node" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Tree organization in excel | Excel Discussion (Misc queries) | |||
where can I get organization chart add-in for Excel 2000? | Excel Discussion (Misc queries) | |||
Excel Data Re-Organization | Excel Discussion (Misc queries) | |||
Creating Time location diagram in Excel | Excel Discussion (Misc queries) | |||
How do i set up an organization chart in Excel? | Charts and Charting in Excel |