Re: Designate text box to be slide title

Thanks, David. I'll give it a try. I plan on adding to the code to do
some formatting so I've got a bit of work ahead. I can handle the
formatting which will involve finding a carriage return in the text,
formatting everything to the left one way, everything to the right
another way, adding tabs, resizing the box, etc. Your info helps me
with the title portion. (Now if I could only get the people that send
these individual slides to use the template!!

- John

David M. Marcovitz wrote:
I don't think you can designate a text box to be a placeholder. Instead,
I think you will have to re-apply the slide layout to the slide. This
will bring back the deleted placeholder. Then you can paste the text from
the fake title into the placeholder.

You could probably do these steps with VBA. Let's see...Something like

myLayout = ActiveWindow.Selection.SlideRange.Layout
ActiveWindow.Selection.SlideRange.Layout = myLayout

will reapply the current layout to the current slide.

Then you could add something like this to put the text from the selected
text box into shape 1, which should be the title area:

ActiveWindow.Selection.SlideRange.Shapes(1).TextFrame. _
TextRange.Text = _

Finally, you can delete the selected shape:


This works in principle, but it does not error checking, so there are
lots of conditions where it will crash and burn (such as trying to use
this with a blank slide type or without first selecting a shape.

David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_

"John Michl" <waxwing1@xxxxxxxxx> wrote in news:1161966851.469188.23470

I have a series of slides where the original text placeholder was
deleted and a new text box added which "looks" like a title but doesn't
show up in the outline view as a title. Where can I indicate that this
particular text box should be the title for a slide.

PS - I eventually want to write a VBA macro so I can quickly select a
box and set this property. I just don't know what it is or where to do


- John


Relevant Pages

  • Re: Conditional Formatting (Excel 2007) Format Row Color Based on
    ... David had provided the solution to you... ... Are you selecting the whole range? ... Choose Formatting ... "David Biddulph" wrote: ...
  • Re: Beginner questions
    ... And little of what I know of PPT is of any use in Word. ... > puzzled about what happens to existing slides when I change the Master. ... If you created a slide based on say PPT's Text ... because you didn't yet know about formatting via the master. ...
  • Re: Beginner questions
    ... At the bottom of the Distribute popup, there's a "Relative to slide" checkbox. ... > changing the master. ... > formatting, except in Word it can be copied from one paragraph to another. ... >> And little of what I know of PPT is of any use in Word. ...
  • Re: Looking for advice for a good Digital Ice 35mm slide scanner
    ... Today David Dyer-Bennet commented courteously on the subject ... ED, Super Coolscan 5000 ED, and Super Coolscan 9000 ED. ... improved auto slide feeder for the 500 and 9000. ... it wouldn't surprise me at all that a scanner based around ...
  • Re: Removing info from text box once its saved to a file
    ... "David M. Marcovitz" wrote: ... Director of Graduate Programs in Educational Technology ... I have a shape SAVE on the first slide (the one one that send typed ...