使用Office Excel JavaScript API更新可透视数据源
我想使用Excel JavaScript API来更新现有的Pivottable
的数据源,该数据源将是与Pivot表同一工作簿中的另一张表中的一个范围。我只找到了文档,该文档显示了如何定义upottable
的数据源时, excel.pivottable?view = excel-js-preview#excel-excel-excel-excel-pivottable-getDataSourcestring-ember(1)“ rel =” nofollow noreferrer“>创建不更改现有的可互动的
的数据源。
开发Excel com ADD-IN 和使用 vba ,所以我很惊讶到目前为止在JavaScript API文档中没有看到它的示例。
有谁知道如何使用Excel JavaScript API更新现有 数据源?
I want to use the Excel JavaScript API to update an existing PivotTable
's data source, which will be a range in another sheet in the same workbook as the pivot table. I've only found documentation that shows how to define a PivotTable
's data source when creating a new pivot table, not changing an existing PivotTable
's data source.
It was possible to change an existing pivot table's data source when developing an Excel COM add-in and when using VBA, so I'm surprised to not see an example of it in the JavaScript API documentation so far.
Does anyone know how to update a existing PivotTable
's data source using the Excel JavaScript API?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当前,您要求的功能:更新现有的透视性数据源不是产品的一部分。也许您可以在此处添加您的请求: Microsoft 365开发人员平台创意论坛。
Currently, the feature: updating an existing PivotTable's data source, you requested, is not a part of the product. Maybe you can add your request here:Microsoft 365 Developer Platform Ideas Forum.