【发布时间】:2019-11-15 08:19:27
【问题描述】:
我有以下简单的 Excel 电子表格:
A B
1 Revenue 5.000 =PALO.DATAC("Jedox Server";"P&L";"Revenue")
2 Costs -3.000 =PALO.DATAC("Jedox Server";"P&L";"COSTS")
3 Profit 2.000 =SUM(B1:B2)
4
5
正如您在单元格 B1 和 B2 中看到的那样,我正在使用 BI-Tool https://www.jedox.com/en/ 以便从 OLAP-Cube 插入 Revenue 和 Costs。
到目前为止,这一切都完美无缺。
借助 BI-Tool 的 Excel-Add-In,我还可以创建一个所谓的OLAP Screenshot:
当我点击此按钮时,将创建一个新文件,其中 Cell B1 和 B2 中的公式被删除,仅显示值(在本例中: 5.000 和 -3.000)。
现在,我希望我可以使用 VBA 代码触发此按钮。像这样的:
Sub OLAP_Screenshot()
Go to Excel-Addin "Jedox"
Click on "Speichern als Snapshot"
End Sub
您知道要在 BI-Tool 中激活此按钮的 VBA 代码必须是什么样子吗?
【问题讨论】:
标签: excel vba business-intelligence jedox