Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 22nd, 2005, 03:33 PM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pivot Table

Hi every one,

I have made a pivot tabel, I ran the query in sql query enalyser and copy the resultant data into excell sheet and then creat a pivot tabel. Is there any way so that I can insert the same query in excell sheet and each time excell sheet and pivot table will update by it self, my point is that I give the pivot table to my boss once and then he can run the query and updat the excell sheet and pivot tabel by a single click.
Any help will be apperciated.

Cheers
 
Old August 23rd, 2005, 02:46 PM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Please any help for the following rpoblem.

thnx



Quote:
quote:Originally posted by vbsolo
 Hi every one,

I have made a pivot tabel, I ran the query in sql query enalyser and copy the resultant data into excell sheet and then creat a pivot tabel. Is there any way so that I can insert the same query in excell sheet and each time excell sheet and pivot table will update by it self, my point is that I give the pivot table to my boss once and then he can run the query and updat the excell sheet and pivot tabel by a single click.
Any help will be apperciated.

Cheers
 
Old November 18th, 2005, 06:04 AM
Authorized User
 
Join Date: Oct 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to shattered Send a message via Yahoo to shattered
Default

not sure why your running the query in sql query analyser? why not do a new database query within the workbook, create the pivot table from that and then its a simple case of automating the query refresh whenever needed

 
Old November 23rd, 2005, 01:28 AM
Authorized User
 
Join Date: Nov 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
u can create ur pivot table using connection from external database(xldatabase) or try import data thru coding and convert the data range into a pivot table.
Wishes,
Vinod

Regards,
VInod





Similar Threads
Thread Thread Starter Forum Replies Last Post
DefaultVersion in Pivot Table Amit Mohanty Excel VBA 1 August 1st, 2006 07:40 PM
Editing in Pivot Table brrmsc VBScript 0 November 29th, 2005 01:10 AM
pivot table without total thelos Excel VBA 1 September 23rd, 2005 11:40 AM
Pivot Table mikeparams SQL Server 2000 1 February 9th, 2005 10:10 AM
Pivot Table ramdasu Excel VBA 0 October 23rd, 2003 03:16 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.