Change default slide-size on PowerPoint 2010 - size

I use PowerPoint 2010 and need to create automatically PowerPoint (with excel VBA) with the slide size 16:9, so I would like to set this value as the default one (instead of 4:3). Could someone help me ? Or does someone maybe know how to choose this Slide-Size with excel VBA ?
Thanks for your help !
Charlotte

Related

Powerpoint obj customization

Is it possible to resize the "rectangle" Object in the power point depending on the excel data in a cell using excel vba? if yes please tell me some steps to process it

Change PowerPoint slide size in Excel 2013 VBA

I use VBA scripts in excel to generate PowerPoint slides for reporting. However since we've upgraded to to Office 2013 my slides are generating in the new default of Widescreen (16:9) rather then Standard (4:3).
What is the Command in VBA to change the size of the PPT slides you are creating? I assume it is a property of PowerPoint.Application but I couldn't figure it out.
Thanks, for the Help!!
-Colin
ActivePresentation.PageSetup.SlideSize = ppSlideSizeOnScreen
thanks

Update charts in PowerPoint in VBA

I have a couple charts in a powerpoint presentation that I want to write a macro for to update them automatically. I have a database that will export data as excel spreadsheets and I was wondering if there was a way in either excel vba or powerpoint vba to have the user input the location of the new data file and have that new data copied and pasted so that the chart will update. I am new to VBA so any help would be greatly appreciated.
You can easily do this by editing link to the ppt charts to the new file.
Simply go to the
Excel Option Button>>Prepare>>Edit Links to Files and change source of the charts to the new file.
Let me know if you still want/need to use VBA for this.
Cheers

VBA code to change size of one slide only in powerpoint

how can I change the size of one slide in a presentation using VBA?
I know the PageSetup.SlideWidth and PageSetup.SlideHeight properties, but these work on the presentation and as a result on all slides.
I'm sure this is possible, since you can do this manually in powerpoint.
Thanks a lot!
You can't. Not under program control, not manually.

How to programatically (using VBA) to modify the charts in Word 2007

Folks,
I would like to write a VBA macro to modify the charts in a Word document but I don't know how ? I used the old school trick below with no hope:
Select a Chart in an open document
Start Macro Recording
Modify the chart
Stop Recording
Edit the macro
The surprise here is that the macro is empty !!
Any advice ?
You may find some useful information in this related question: VBScript and multilevel OLE?