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);
 
Back
Top