LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Create a PivotTable from a VBA array - help!

I want to run multiple pivot tables off an array exceeding 500k cells. I
believe it would vastly improve performance. I've tried variations of the
code below to no avail.

Set Pivot_Cache_01 = ActiveWorkbook.PivotCaches.Add _
(SourceType:=xlDatabase, _
SourceData:=Array_Work(1,1),(Rows_Count, Columns_Count))

I know there a xlConsolidation, xlDatabase, xlExternal, xlPivotTable, and
xlScenario but I don't see which would accept an array as input.

Any ideas!





 
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 a pivottable from a recordset? Rubble Excel Programming 6 October 7th 08 05:14 AM
Create a Pivottable in a macro Michael Excel Discussion (Misc queries) 8 March 15th 07 02:41 PM
function to reference all of pivottable data field array andrew Excel Worksheet Functions 0 February 22nd 06 05:54 PM
How to create a Pivottable from Textfile Frank M Excel Programming 0 September 23rd 05 11:07 AM
Create a PivotTable from a VBA array? Dave[_15_] Excel Programming 0 August 9th 03 12:58 PM


All times are GMT +1. The time now is 11:27 AM.

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

About Us

"It's about Microsoft Excel"