![]() |
#1
|
|||
|
|||
![]() 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 |
Thread Tools | |
Display Modes | |
|
![]() |
||||
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 |
![]() |
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 |
![]() |
ibrahimaa | Excel Programming | 2 | 04-28-2012 12:27 AM |
pivot table source data | hannu | Excel | 0 | 07-03-2010 04:54 AM |