小编Jim*_*erg的帖子

使用 VBA 从 Microsoft Excel 获取数据到 Powerpoint Graph

我正在尝试使用 VBA 从 Excel 获取数据到 Powerpoint Graph(将数据粘贴到 Powerpoint Graph Object 后面的数据表中)。

我使用此代码作为示例(源代码):

'Code by Mahipal Padigela
'Open Microsoft Powerpoint,Choose/Insert a Graph type Slide(No.8), then double click to add a graph and click...
'...outside the graph to close the Datasheet, then rename the Graph to "Mychart",Save and Close the Presentation
'Open Microsoft Excel, add some test data to Sheet1(This example assumes that you have some test data...
'...(numbers between 0-100) in Rows 2,3,4 and Columns B,C,D,E).
'Open VBA editor(Alt+F11),Insert …
Run Code Online (Sandbox Code Playgroud)

excel powerpoint automation vba

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

automation ×1

excel ×1

powerpoint ×1

vba ×1