Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-24-2017, 01:35 AM
chrisdenslow chrisdenslow is offline Changing Existing Pivot Table Source from a DB to a worksheet Windows 7 64bit Changing Existing Pivot Table Source from a DB to a worksheet Office 2010 64bit
Novice
Changing Existing Pivot Table Source from a DB to a worksheet
 
Join Date: Jul 2017
Posts: 2
chrisdenslow is on a distinguished road
Default Changing Existing Pivot Table Source from a DB to a worksheet

Morning,



We currently have some Excel 2010 spreadsheets that have pivot tables in them.

The pivot tables are based on a ODBC connection to a database. We have written some VBA that will extract the source data required from another database to a worksheet and execute some processes on it.

When I try to alter the existing pivot table's data source and change it from a External Datasource Connection to a table range in the workbook I am unable to do so. 'Select a table or range' option is greyed out.

Can someone tell me if there is a way in VBA to change the data source fron existing Excel 2010 Pivot Table from an external datasource to a named range on a sheet.

Thanks
Chris
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro recorder changing reference style for columns in pivot source andylaw31 Excel Programming 0 06-15-2016 08:45 AM
Changing Existing Pivot Table Source from a DB to a worksheet How do I find Source of Pivot Table bobmayo Excel 2 05-16-2013 12:42 PM
Copying pivot table and graph to a new worksheet artner0112 Excel 0 02-02-2013 07:19 PM
Changing Existing Pivot Table Source from a DB to a worksheet VBA: Include Dynamic Sheet Name In Pivot Table Source Data ibrahimaa Excel Programming 2 04-28-2012 12:27 AM
pivot table source data hannu Excel 0 07-03-2010 04:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft