0

Import excel data to PowerPoint

Import excel data in particular cell for PowerPoint Column name : a Row number : 4 I run programme In subtitles I want to type excel (for name one.xlsx) data but error coming if I type manual the programme run Save PowerPoint as mobile.pptx from pptx import Presentation import pandas as pd df = pd.read_excel('one.xlsx', sheet_name= 'Sheet1') prs = Presentation('mobile compare.pptx') slide = prs.slides[1] subtitle = slide.placeholders[1] subtitle.text = print(df['a'][4]) prs.save("mobile.pptx") What change in code

15th Jun 2021, 3:09 AM
Shanmuga Sundaram
Shanmuga Sundaram - avatar
1 Resposta
+ 1
Learn this from w3school or geeksforgeeks
15th Jun 2021, 3:46 AM
Sâñtôsh
Sâñtôsh - avatar