Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
BEE BEE is offline
external usenet poster
 
Posts: 10
Default Variable Not Defined? objPivotCache

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

Error: Variable Not Defined.

Input welcomed.
B.
  #2   Report Post  
Posted to microsoft.public.excel.programming
BEE BEE is offline
external usenet poster
 
Posts: 10
Default Variable Not Defined? objPivotCache

Oops. Never mind.
Just forgot the
dim pc as pivotcache
Monday, you know.
Thx.
B.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
create defined name using variable file name in reference hala Excel Worksheet Functions 3 December 14th 09 01:10 PM
Variable sum from defined input David Excel Worksheet Functions 7 March 10th 09 06:26 AM
Finding files in a folder. Variable not defined error. Ayo Excel Discussion (Misc queries) 1 March 14th 08 01:14 PM
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? Daniel Excel Worksheet Functions 1 July 9th 05 03:05 AM
How to copy worksheets with a user defined variable Greg K Excel Programming 2 August 19th 03 09:47 PM


All times are GMT +1. The time now is 08:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"