View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel joel is offline
external usenet poster
 
Posts: 9,101
Default How to change SQL in an existing pivottable

Can you record a macro while creating the pivot table so we can see what you
are trying to change. I'm not sure where the source of the pivot table is
coming from and the macro will make it easier to write the code.

"Michael" wrote:

Hi,

I need some sample code to change SQL in an existing pivottable named
as Table1. Thanks a lot. Mike.