LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel
external usenet poster
 
Posts: 2
Default Pivot Table Programming

Haukwa wrote:
Matt,

I was able to get your code to work by doing the following:
- I had to Dim the PivotField and DataField variables. Without a Dim
statement, I was getting a 'Compile Error: Variable not Defined'.
- I had to have a pivot table with a field labeled
"[Time].[Week].[Week]"

After that, the program pivoted the field from a row to a column. The
1004 error told me that the program could not find the field name you
were referencing. That's when I changed one of the labels in my pivot
table.

Does that help?

Gerry


Yep - it does. Followed your steps and got it working. Thanks,

Matt
 
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
Excel Food Price Table, Programming, Is This Table All Right? Davi Excel Discussion (Misc queries) 2 June 3rd 07 12:24 PM
Excel vba pivot table programming [email protected] Excel Programming 2 March 11th 05 04:34 AM
Pivot Table Programming Marvin Excel Programming 1 January 25th 05 10:54 PM
Pivot Table Programming OrrLyfe Excel Programming 3 November 1st 04 12:44 AM
Pivot table Programming Kris Excel Programming 1 October 5th 04 09:03 PM


All times are GMT +1. The time now is 04:26 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"