PP2007: VBA Property TitleMaster

  • Thread starter Thread starter Luca Brasi
  • Start date Start date
L

Luca Brasi

In PP2007 there is no longer a title master available. But still the vba
property TitleMaster in the Presentation object exists.
Which of the custom layout object is returned by this property? Are
there any rules? Can I define what custom layout should be represented
by the TitleMaster property?
Thanks
 
In PP2007 there is no longer a title master available. But still the vba
property TitleMaster in the Presentation object exists.
Which of the custom layout object is returned by this property? Are
there any rules? Can I define what custom layout should be represented
by the TitleMaster property?

Seems to be the Title Slide layout. A little bit of code can demonstrate:

Sub WhereDoIAppear()
With ActivePresentation.TitleMaster
With .Shapes.AddTextbox(msoTextOrientationHorizontal, 0, 0, 200, 100)
.TextFrame.TextRange.Text = "Well, here we are. What now?"
End With
End With
End Sub
 
Steve, thanks for your reply. I was more wondering I there's a way to
define another existing custom layout as title slide layout?

Right now it looks to me that you have to create a new 2007 presentation
to get such a title slide layout. Once this custom layout is deleted (or
even if just the subtitle placeholder on it is deleted) your
presentation has no title slide layout anymore.
 
Steve, thanks for your reply. I was more wondering I there's a way to
define another existing custom layout as title slide layout?

I don't quite understand what you're after. Can you explain the problem you're
trying to solve? Thanks, Luca
 
Steve, I'm talking from a VBA point of view. PP2007 has no title master
anymore (but custom layouts). Still in VBA the "TitleMaster" property
exists (as well as "HasTitleMaster"). If you call it in a default 2007
presentation the custom layout that MS created for title slides is
returned (which is very reasonable).

If you delete that custom layout manually and call the "HasTitleMaster"
property the returned value is False (the same if you just delete the
subtitle placeholder on this custom layout).

Now, if I have such a presentation and would like to make another of the
existing custom layouts act as title master (still talking about the
VBA) what can I do?

Of course I could copy/paste a custom title layout from a newly created
presentation into mine and adjust its appearance. But I thought there
might be an easier solution.
 
Hi Luca,

After poking at this for a while, it seems that you may have to copy/paste to get
the job done. Renaming a new or existing layout "Title Slide" doesn't seem to help,
even if you move it to the same position as the original Title Slide layout.
 
Back
Top