如何自动从excel制作组织结构图 [英] How to make an Org chart from excel automatically

查看:609
本文介绍了如何自动从excel制作组织结构图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Excel文件构建组织结构图并自动更新。这可能吗?



谢谢

解决方案

BillatTECI您好,


您可以尝试如下VBA代码构建一个组织结构图:


<预类= "prettyprint">子TestAddSmartArt()
呼叫了ActiveSheet.Shapes.AddSmartArt(Application.SmartArtLayouts(_
"瓮:microsoft.com/office/officeart/2005/8/layout/hList2"))选择
结束子<。 / pre>

要手动创建组织结构图并让其更新,请参考以下链接:


自动创建组织图从雇员数据功能


如何更新o组织结构图?


最好的问候,


Yuki


I want to use an Excel file to build an Org chart and have it update automatically. Is this possible?

Thanks

解决方案

Hi BillatTECI,

You could try the VBA code as below to build an Org chart:

Sub TestAddSmartArt()
    Call ActiveSheet.Shapes.AddSmartArt(Application.SmartArtLayouts( _
        "urn:microsoft.com/office/officeart/2005/8/layout/hList2")).Select
End Sub

To create an Org chart manually and have it update, please reference the links as below:

Create an organization chart automatically from employee data 

How to update an organization chart?

Best Regards,

Yuki


这篇关于如何自动从excel制作组织结构图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆