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.
 
Oops. Never mind.
Just forgot the
dim pc as pivotcache
Monday, you know.
Thx.
B.
 

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