![]() Once you have a reference to the desired CustomLayout object, you use the AddSlide method of the Slides collection, which takes a CustomLayout object as the second arguments (as opposed to Slides.Add, which you used in your question, and which takes a PpSlideLayout enumeration value). ![]() This answer clearly contradicts OPs intention. On the left panel, click the 'Outline' tab, select all, under Review->Language->Set Proofing Language set desire language. It appears that Microsoft didn't implement lookup by name, so you will have to iterate through the collection to find the CustomLayout object with the right name. Click icon at the bottom to be in 'Normal' viewing mode. Then you can fetch it from the CustomLayouts collection. When you create a custom layout, give it a meaningful name. All your custom layouts can be accessed via VBA through the CustomLayoutscollection of the SlideMaster property of a Presentation object.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |