View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Martin Los[_3_] Martin Los[_3_] is offline
external usenet poster
 
Posts: 22
Default Dynamic Pivot table range

Just trying to give an idea (not tried the code)

Maybe something like

Set PTCache = ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatab ase, _
SourceData:=Activesheet.Range(Activesheet.Cells(co lumns.count,"IV").End(xlLeft))

could help?

Martin