Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

VBA Visual Basic for Applications (Microsoft) FAQ


How Do I populate a table in Powerpoint with data ? by Chance1234
Posted: 23 Mar 06

Firstly name your table using the following code FAQ707-1698

lets call it frank (table two rows  by three columns)

Now in your Code reference the slide with the table on it,


 Set sld_Temp = pp_Final.Slides(1) '

Then to reference the table and populate it , the code looks somethign like this


             With sld_Temp.Shapes("frank").Table
                    .Cell(1, 1).Shape.TextFrame.TextRange.Text = "Hello"
                    .Cell(1, 2).Shape.TextFrame.TextRange.Text = "world"
                    .Cell(1, 3).Shape.TextFrame.TextRange.Text = "And"
                    .Cell(2, 1).Shape.TextFrame.TextRange.Text = "here is"
                    .Cell(2, 2).Shape.TextFrame.TextRange.Text = "more"
                    .Cell(2, 3).Shape.TextFrame.TextRange.Text = "data"
               End With

Back to VBA Visual Basic for Applications (Microsoft) FAQ Index
Back to VBA Visual Basic for Applications (Microsoft) Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close