Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default Is it possible to Macro a Pivot Table?

Hi Experts:

I have a document in which the data is completely macro'd, except that I
need to perform 3 Pivot Tables from the data. Is it possible to Macro a
Pivot Table? If so, how would I do that?

Thank you for any help,
--
jeannie v
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Is it possible to Macro a Pivot Table?

"jeannie v" wrote...
I have a document in which the data is completely macro'd, except that I
need to perform 3 Pivot Tables from the data. Is it possible to Macro a
Pivot Table? If so, how would I do that?


Experimentation is always a good idea. Turn on the macro recorder just
before you create a pivot table manually, create it, turn the macro recorder
off, then see what it recorded.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default Is it possible to Macro a Pivot Table?

Hi Harlan:

Thank you for the response. Yes, I did try that before I posted and I again
tried it at your suggestion. It works fine when I'm recording it, but when I
then test the Macro, it doesn't work....It gives me an error msg "AddFields
method of pivot table class failed".

Do you know what I can do from this point?
--
jeannie v


"Harlan Grove" wrote:

"jeannie v" wrote...
I have a document in which the data is completely macro'd, except that I
need to perform 3 Pivot Tables from the data. Is it possible to Macro a
Pivot Table? If so, how would I do that?


Experimentation is always a good idea. Turn on the macro recorder just
before you create a pivot table manually, create it, turn the macro recorder
off, then see what it recorded.



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
Can I run a macro to create a pivot table? Eqa Excel Discussion (Misc queries) 2 April 8th 07 06:16 AM
Pivot Table Macro BCNU Excel Discussion (Misc queries) 0 November 14th 06 01:33 AM
MACRO FOR PIVOT TABLE anu Excel Discussion (Misc queries) 2 August 11th 06 05:07 PM
Record Pivot Table Macro Corey Excel Discussion (Misc queries) 2 February 11th 06 01:31 AM
Macro to change a Pivot Table David M Excel Discussion (Misc queries) 0 March 22nd 05 05:27 PM


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