visual c# excel 2007 pivot filter

  • Thread starter Thread starter Scott
  • Start date Start date
S

Scott

Hi,
I'm trying to add pivot filter with multiple values checked using visual c#
2008, we tried using the xldatebetween syntax property of the pivot function,
but keep getting an error on the object data property.

Can someone please guide me to the right syntax

below is the string from the code

tablePage1.PivotFilters.Add(Excel.XlPivotFilterType.xlDateBetween,tablePivot.PivotFields("Posted
Date"),"12/7/2009", missing, missing, missing, missing, missing);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top