A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Looking to automate the creation of an org chart from a spreadshee



 
 
Thread Tools Display Modes
  #1  
Old May 15th, 2009, 09:31 PM posted to microsoft.public.excel.misc
Judi
external usenet poster
 
Posts: 135
Default Looking to automate the creation of an org chart from a spreadshee

Good afternoon,

Is there a way (using Access OR Excel) to automate creating an
organizational chart from a Microsoft Excel spreadsheet? I'm brainstorming
now, and seeing if someone can help me make it happen.

Thank you!!!

~judi
  #2  
Old May 15th, 2009, 10:56 PM posted to microsoft.public.excel.misc
Gary''s Student
external usenet poster
 
Posts: 7,584
Default Looking to automate the creation of an org chart from a spreadshee

Oranization Charts can either be created manually or automaticall through a
macro. See:

http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
--
Gary''s Student - gsnu200853


"Judi" wrote:

Good afternoon,

Is there a way (using Access OR Excel) to automate creating an
organizational chart from a Microsoft Excel spreadsheet? I'm brainstorming
now, and seeing if someone can help me make it happen.

Thank you!!!

~judi

  #3  
Old May 15th, 2009, 11:30 PM posted to microsoft.public.excel.misc
Judi
external usenet poster
 
Posts: 135
Default Looking to automate the creation of an org chart from a spread

Thank you. I added that into VBE, but I'm a beginner with that program, and
I'm getting an error. Obviously, I will need to change some of the script
from below, but I just don't know what it is I need to personalize.

Sub UseDiagram()

Dim wksOne As Worksheet
Dim shpOrgChart As Shape

Set wksOne = ActiveSheet

'Add organization chart diagram to current worksheet.
Set shpOrgChart = ActiveSheet.Shapes.AddDiagram _
(Type:=msoDiagramOrgChart, _
Top:=10, Left:=15, Width:=400, Height:=475)

'Add first node to organization chart.
shpOrgChart.DiagramNode.Children.AddNode

'Notify user of the number of nodes added to the diagram.
MsgBox shpOrgChart.Diagram.Nodes.Count

End Sub

More help please! Thank you!!!

"Gary''s Student" wrote:

Oranization Charts can either be created manually or automaticall through a
macro. See:

http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
--
Gary''s Student - gsnu200853


"Judi" wrote:

Good afternoon,

Is there a way (using Access OR Excel) to automate creating an
organizational chart from a Microsoft Excel spreadsheet? I'm brainstorming
now, and seeing if someone can help me make it happen.

Thank you!!!

~judi


  #4  
Old May 18th, 2009, 10:46 PM posted to microsoft.public.excel.misc
Judi
external usenet poster
 
Posts: 135
Default Looking to automate the creation of an org chart from a spread

I could still use some help...anyone?

"Judi" wrote:

Thank you. I added that into VBE, but I'm a beginner with that program, and
I'm getting an error. Obviously, I will need to change some of the script
from below, but I just don't know what it is I need to personalize.

Sub UseDiagram()

Dim wksOne As Worksheet
Dim shpOrgChart As Shape

Set wksOne = ActiveSheet

'Add organization chart diagram to current worksheet.
Set shpOrgChart = ActiveSheet.Shapes.AddDiagram _
(Type:=msoDiagramOrgChart, _
Top:=10, Left:=15, Width:=400, Height:=475)

'Add first node to organization chart.
shpOrgChart.DiagramNode.Children.AddNode

'Notify user of the number of nodes added to the diagram.
MsgBox shpOrgChart.Diagram.Nodes.Count

End Sub

More help please! Thank you!!!

"Gary''s Student" wrote:

Oranization Charts can either be created manually or automaticall through a
macro. See:

http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
--
Gary''s Student - gsnu200853


"Judi" wrote:

Good afternoon,

Is there a way (using Access OR Excel) to automate creating an
organizational chart from a Microsoft Excel spreadsheet? I'm brainstorming
now, and seeing if someone can help me make it happen.

Thank you!!!

~judi


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.