If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Pivottables and external databases

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-05-04, 15:46
robojam robojam is offline
Registered User
 
Join Date: Feb 2004
Location: Charlotte, NC
Posts: 79
Question Pivottables and external databases

Hi

I have existing pivottables in a spreadsheet that have values referenced from other parts of the spreadsheet. They currently get their data from a worksheet within this spreadsheet, but I would like them to get the data from Oracle.

I have written the SQL to extract the data in the same format as the worksheet that is the current source for the pivottables, but I don't know how to get them to change data source in code.

Is there any way I can do this and not have to delete the existing pivottables?

Thanks
__________________
Make something idiot proof and someone will make a better idiot...
Reply With Quote
  #2 (permalink)  
Old 11-08-04, 17:19
buckeye_td buckeye_td is offline
Registered User
 
Join Date: Sep 2004
Location: Charlotte, NC
Posts: 164
Sure can. Click somewhere in your existing pivot table. Then select Data;PivotTable and PivotChart Report from the menu and you should get a popup window with the title "PivotTable and PivotChart Wizard - Step 3 of 3".
Click the "<Back" button and that should popup a window titled "PivotTable and PivotChart Wizard - Step 2 of 3" with a button called "Get Data". Click this and select your new data source.

TD
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On