Generating a powerpoint presentation with VBA and Excel -


i have template presentation on powerpoint. replace automatically generic placeholders value input in linked excel worksheet.

i started looking @ vba @ begining of week, not yet familiar syntax, optimistic find way understand it.

i have put "[ ]" everywhere want value input: enter image description here

the excel sheet present this: enter image description here

i have pointers (first, know if indeed possible in powerpoint) me started in right direction.

does need publicsub()? writing macro on powerpoint or in excel?

can use fonction similar lookupv values replace placeholders?

i imagine :

(side question : can use regex inside of vba?)

for each "\[.\]" '(or characterstring.startswith("[") lookup characterstring in excel, return column 3 end each 

would possible?

thank in advance, appreciate help.

found approximate solution, simpler code writing.

  • open excel,
  • fill values, , copy them onto powerpoint presentation : use special paste option between cell (or cells/cell range) want.
  • choose "paste link" option object worksheet excel, select ok.

both files linked. can change values in excel, , change in powerpoint. formating done on excel.

in order update values in powerpoint after changing them on excel, powerpoint needs re-run, , @ restart of application, accept updating box prompt.

i find simpler other solutions.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -