简体   繁体   中英

How to refresh (Refresh All button in excel sheet) the excel sheet using openXML in C#

我有一个Excel工作表,其中在单击Data-> RefreshAll并提供凭据后会动态更新单元格和值。我需要使用openXml通过c#代码完成Refresh All按钮的功能。

因此,您必须使用Excel对象模型打开工作簿,然后调用Workbook.RefreshAll方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM