Using VBA to create Organization Charts

bill

Well-known Member
Joined
Mar 7, 2002
Messages
550
Seems with the macro recorder on, you cant do the following:
INSERT>PICTURE>ORGANIZATION CHART

Nor does it seem you can change an Organization Chart while the macro record is running.

Either:
1) I'm slipping and should go back to Pac Man
2) Microsoft did a half-azz implementation
3) Microsoft intentionally chose NOT to expose the chart maker to VBA.

Please, although option 1 would just about fit in any scenario, hopefully in this, it is user error and Billy Gates is still the greatest of greats.

I'm using 2003. Thanks.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
bill said:
Seems with the macro recorder on, you cant do the following:
INSERT>PICTURE>ORGANIZATION CHART

I would have to agree on that one. I tried it with 2002 and the first time I told me I had to select a shape first (whatever that meant). If I added an orgchart, deleted it, then ran the macro recorder and tried to insert an orgchart again, nothing happened at all.

Nor does it seem you can change an Organization Chart while the macro record is running.

I was able to get the macro recorder to record changes I made to text in the chart; the only thing is it didn't specify *where* the changes were being made other than "orgchart1" (that is, it didn't specify which box of the chart I was changing, etc.). The entire orgchart seems to be considered as a single shape.
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,387
Members
448,957
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top