![]() |
#1
|
|||
|
|||
![]()
I have a VBA subroutine running in an Excel spreadsheet, that copies a table of values from that spreadsheet to the data table of a chart in a PPTX slide. The PPTX presentation is open and visible. The script uses
Code:
Set chartShapeChart = chartShape.Chart Set chartDataWorkbook = chartShapeChart.ChartData.Workbook chartShapeChart.ChartData.Activate Code:
chartShapeChart.Refresh chartDataWorkbook.Close False However for some reason the chart does not update/refresh as it's supposed to. After the VBA script completes, I need to manually open the data editor in order for the chart to refresh the graphical elements. Note that the data copy is correct, and opening the data editor manually and then closing it without any further edits to the data is all that's needed to refresh the chart. Is this a known issue with PPTX charts, or am I missing something? Any pointers would be appreciated. |
Tags |
chart problem, chartdata, vba |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Graphic shapes are not updating when external Excel data is updated | cjs | Visio | 0 | 12-29-2021 06:29 PM |
Can we update Chart in PPT based on a table in the excel and the table is part of the Chart Data | nareshj | PowerPoint | 0 | 07-12-2018 02:29 PM |
![]() |
AD1983 | PowerPoint | 2 | 10-18-2016 06:26 AM |
Help with updating chart within PPT presentation | EFGEE | PowerPoint | 0 | 04-25-2011 07:00 AM |
Updating Excel Chart Links | fermat | PowerPoint | 0 | 07-09-2010 04:29 PM |