I have excel sheet where all pivotcharts are combined by slicers. i want to copy individual pivot charts from the excel sheet to a word document by image to placeholder

Thank you in advance

I have tried with win32 & openpyxl but error message came
Object attribute charts is not found

AndreRet commented: Please share your code and the error. Cannot help much until then. +15

Please see my comment, we cannot help much if there is no information available. From the error it seems that you have not referenced an object of Charts...

commented: import openpyxl import docx def copy_charts_to_word(excel_file, word_file): # Open the Excel file wb = openpyxl.load_workbook(excel_file) +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.