Applying custom layout to PowePoint presentation through Excel

AxelU

New Member
Joined
Sep 30, 2014
Messages
5
I have a PowerPoint presentation that has been created through VBA in Excel, to this presentation I have applied a custom template including various custom layouts. I have no issues referring to the specific slide in PowerPoint through Excel VBA, but when trying to change the layout to one of the custom ones I simply can't seem to refer to the different layouts through Excel.

Referring to them via PowerPoint VBA is done by using .SlideMaster.CustomLayouts, that is unfortunately not an option since I am creating a new PowerPoint each time running the code from Excel and Excel wont let me dim something as a CustomLayout.

Any solution on how to be able to switch between custom layouts in PowerPoint via Excel would be much appreciated!

Thanks in advance!

/Axel
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,223,705
Messages
6,173,996
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top