Setting Application-level font size in PowerPoint -


in excel can like:

activeworkbook.styles("normal").font.name = "calibri" 

this replicates action of navigating home ribbon , choosing particular font used, avoid having programmatically assign different fonts in dozens of places.

is there equivalent in powerpoint?

activepresentation.styles returns error.

i use object browser , search style (hoping find obvious/intuitive) there dozens of results, none of them particularly promising. hoping else has run in before.

with trial , error, seems trick:

with activepresentation     .slidemaster.theme.themefontscheme.minorfont.item(1).name = "calibri" end 

there .majorfont looks .minorfont need.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -