Variable Not Defined? objPivotCache

  • Thread starter Thread starter BEE
  • Start date Start date
B

BEE

My code:
Set objPivotCache = ActiveWorkbook.PivotCaches.Add
(SourceType:=xlExternal)

Error: Variable Not Defined.

Input welcomed.
B.
 
Back
Top