读取数据透视表形式C# [英] read pivot table form c#

查看:188
本文介绍了读取数据透视表形式C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为excel开发外接程序,并尝试读取数据透视表,但发现无法从工作表访问数据透视表,奇怪的是可以从非外接程序项目访问数据透视表,如果有人给我,我将不胜感激一些信息或代码.

I am developing add-in for excel and trying to read pivot tables but found no access to pivot tables from the worksheet , strangely pivot table can be reached from non add-in projects , I will be grateful if any one give me some info or code.

推荐答案

我不确定您在说什么.如果您使用的是c#,则大概是使用Microsoft.Interop.Excel库...它具有Worksheet.PivotTables方法.
I''m not sure what you''re talking about. If you''re using c#, then presumably, you''re using the Microsoft.Interop.Excel library...which has a Worksheet.PivotTables method.


这篇关于读取数据透视表形式C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆