Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How to change SQL in an existing pivottable

Hi,

I need some sample code to change SQL in an existing pivottable named
as Table1. Thanks a lot. Mike.
  #2   Report Post  
Posted to microsoft.public.excel.programming
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.

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
Using VB to change a defined formula within a pivottable Mark Parent Excel Programming 0 September 23rd 08 09:00 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: how to change source Christoph Strobelt [Bt] Excel Programming 0 August 15th 05 02:03 PM
Change pivottable datasource zoeloe Excel Discussion (Misc queries) 1 June 21st 05 07:36 PM
Change SourceData in Excel PivotTable via VBA CarlsonClan Excel Programming 1 April 9th 04 04:15 AM


All times are GMT +1. The time now is 12:06 PM.

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

About Us

"It's about Microsoft Excel"