S
Smugliy
Hi ,
I have seen a lot of examples how to find pivot tables using macro.
But in C# I don't have Count property
for (int i = 1; i <= this.Application.Sheets.Count; i++)
{
Excel.Worksheet ws =
(Excel.Worksheet)this.Application.Sheets;
for (int j = 1; j<= ws.PivotTables.Count // ERROR
How can I do it in C#?
Thanks a lot
Smugliy
I have seen a lot of examples how to find pivot tables using macro.
But in C# I don't have Count property
for (int i = 1; i <= this.Application.Sheets.Count; i++)
{
Excel.Worksheet ws =
(Excel.Worksheet)this.Application.Sheets;
for (int j = 1; j<= ws.PivotTables.Count // ERROR
How can I do it in C#?
Thanks a lot
Smugliy