Data linking between Excel data and Visio/PPt

无人久伴 提交于 2020-01-14 14:58:49

问题


Question: How can we link data from excel sheets to ppt diagrams / visio diagrams ? Diagrams here are data flow diagrams depicting data trasfer between different applications.

I am aware that the excel data needs to be formatted but not sure how to go about it and could not find helpful links online.

Any light on this would be very helpful.

Thank you.


回答1:


This can be done in many ways, and with more recent versions (2007 and 2010) you can link data into a Visio diagram without writing any code:

Visio/Excel data link

If you're working pre-2007 Visio or with PPT, then I think you'd want to use VBA to create the link. The problem then becomes how do you persist a link between an Excel cell and a Visio/PPT shape.

I've worked with a tool called eVSM that dumps a process chart in Visio out to an Excel table. In order to maintain a persistent link between the Excel worksheet and the Visio shapes, they store the GUID of a shape in the Excel cell comment for the shapes cell. You might be able to do something similar if you can get a unique ID for a PowerPoint shape.

This update mechanism gets run manually because it is relatively time intensive, so it doesn't work like in Excel where you modify the value and the linked display changes instantly, so you'd have to think through how you want to accomplish that.




回答2:


It's easier just to copy and past the cells into a Word document. Then copy and Paste Special as a picture into Visio.



来源:https://stackoverflow.com/questions/7947437/data-linking-between-excel-data-and-visio-ppt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!