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: 1
Default PivotTable DefaultVersion

Hi folks,

I have developed a pivotTable in Excel 2002 that only has Row fields,
with no column, data or page fields. The only reason I'm doing this is
that it makes my report look nicer :)

However, I noticed that this statement bombs on earlier versions of
Excel:

ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatab ase,
SourceData:= _
Range(Cells(7, 31), Cells(1000, 37)).Address).CreatePivotTable
_
TableDestination:= tblDestination, TableName:="PivotTable2", _
DefaultVersion:=xlPivotTableVersion10

So I tried taking out the DefaultVersion parameter of the
CreatePivotTable method. But when I do that, I end up with no data
displayed in my pivotTable report! All the data is in the report, but
none is displayed until I add some data fields.

Is there something in Excel 2002 that allows me to display only row
fields in a PivotTable report? Please help with any suggestions, as my
report needs to work with earlier versions of Excel.

Thank you,
Malik
 
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
Pivottable [email protected] Excel Discussion (Misc queries) 3 June 4th 08 09:38 PM
Creating a PivotTable w/o selecting data in an existing PivotTable Damian Excel Discussion (Misc queries) 6 November 2nd 07 04:44 PM
Pivottable nc Excel Discussion (Misc queries) 4 October 4th 05 02:16 PM
Pivottable nc Excel Discussion (Misc queries) 0 June 23rd 05 10:18 AM
PivotTable Help G Excel Discussion (Misc queries) 3 May 31st 05 03:25 PM


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

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"