Returning and Setting the Text in a Text Range : Slide Text « PowerPoint « VBA / Excel / Access / Word

Home
VBA / Excel / Access / Word
1.Access
2.Application
3.Data Type
4.Data Type Functions
5.Date Functions
6.Excel
7.File Path
8.Forms
9.Language Basics
10.Math Functions
11.Outlook
12.PowerPoint
13.String Functions
14.Windows API
15.Word
16.XML
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
VBA / Excel / Access / Word » PowerPoint » Slide Text 
Returning and Setting the Text in a Text Range
 
Sub set()
    ActivePresentation.Slides(1).Shapes(1).TextFrame.TextRange.Text _
        "Strategic Planning Meeting"
End Sub

 
Related examples in the same category
1.Use the AddTextEffect to add a WordArt. The WordArt item uses 54-point bold ITC Avant Garde Gothic.
2.Use the AddTextbox Method to add a text box to the eighth slide and assign text to it
3.Check whether the text frame contains text. To do so, check that the HasText property of the TextFrame object is msoTrue
4.Returns the second through fifth words from the first shape on the first slide in the active presentation:
5.Set the text of the second paragraph in the second shape on the sixth slide in the presentation
6.Formatting the Text in a Text Range
7.Formatting the Bullets for a Text Range
8.To use a picture as a bullet, set the Type property of the BulletFormat object to ppBulletPicture and then use the Picture method with the Picture argument
java2s.com  |  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.