Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

Edit chart data on a duplicated slide : data linked

$
0
0

Hi all,

I have a known problem with powerpoint :

"When you edit data of a chart on a duplicated slide in PowerPoint 2016, and then edit data of the chart on the original slide, the data on the original slide switches into the data on the duplicated slide."

It's fixed with this : https://support.microsoft.com/en-us/help/3114706.

BUT, it's not solved when running with VB.NET

See this example :

    MyPres.Slides(1).Duplicate
    
    With MyPres.Slides(2).Shapes.Item("GRAPH").Chart
        With .ChartData.Workbook.Worksheets(1)
            'Detail (bars)
            .Cells(2, 2).Value = i * 100
        End With
        
        .ChartData.Workbook.Close

    End With

Thanks in advance for your help

Léa


Viewing all articles
Browse latest Browse all 2257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>