Export chart in Word 2016 With VBA - Microsoft Community


i tried use vba export charts in word document. , follow example in documentation:

with activedocument.inlineshapes(1) 
    if .haschart then 
        .chart.export _ 
        filename:="current_sales.png", filtername:="png" 
    end if 
end with


the code works fine in word 2010 , word 2013. however, in word 2016, result placeholder picture:

did wrong, or bug?

thanks.

moved from: office/ word/ windows other/office 2016

have verified indeed occur , have escalated problem microsoft word development team.


Office / Word / Microsoft Office Programming / Office 2016



Comments

Popular posts from this blog

Can't Sign-in to OneDrive - Microsoft Community

Shared mailbox permissions - Microsoft Community

Outlook 2016 for Mac - Multiple Issues, Error 17884 - Microsoft Community