Inserting text into PPT?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Helo

Is there any way in Powerpoint which allows me to insert some text/content
into Powerpoint programmatically? Just like Bookmarks in Word, with that I
could select a Bookmark via it's name, and I could insert text into it.

Is there something similar in Powerpoint? Or some walkaround?

It would be needed for PPT 2000, but if anyone has solutions for higher
versions, they are appreciated too!

It would be urgent,

Thanks,
Csabi
 
Helo

Is there any way in Powerpoint which allows me to insert some text/content
into Powerpoint programmatically? Just like Bookmarks in Word, with that I
could select a Bookmark via it's name, and I could insert text into it.

Is there something similar in Powerpoint? Or some walkaround?

PowerPoint doesn't have bookmarks but it has named shapes. That should work
well for this.

For example, this will set the text of a shape named MyShape on Slide 1:

Sub AddTextToMyShape()

' Watch linebreaks; this should be on one line
ActivePresentation.Slides(1).Shapes("MyShape").TextFrame.TextRange.Text = "You
found me!"

End Sub

Edit the name of a shape
http://www.rdpslides.com/pptfaq/FAQ00584.htm
 
Hi Steve,

Thanks for your answer, but how can I set a Shape's name in Powerpoint ind
esign time? So I don't wnt programmatically add new Shapes, but using
existing ones. I haven't found how to name shapes.

Thanks,
Bye,

Csabi
 
Hi Steve,

Thanks for your answer, but how can I set a Shape's name in Powerpoint ind
esign time?

Follow the link I included at the end of the last reply. ;-)
See below.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top