Solved

Pass variable from one pp slide to another

Posted on 2013-11-23
2
238 Views
Last Modified: 2013-11-24
anyone know how i can pass the result of a text box from one powerpoint slide to another in powerpoint vba.

I am using powerpoint 2003.

Thanks.
0
Comment
Question by:SweetingA
2 Comments
 
LVL 23

Accepted Solution

by:
JSRWilson earned 500 total points
Comment Utility
You really need to explain a little more but I am guessing you have a control textbox on two slides.

If the target textbox is named (default) TextBox1 and on Slide 4 this is the code to add to the first textbox

Private Sub TextBox1_Change()
If Len(Me.TextBox1.Text) > 0 Then
ActivePresentation.Slides(4).Shapes("TextBox1").OLEFormat.Object.Text = _
Me.TextBox1.Text
End If
End Sub
0
 

Author Closing Comment

by:SweetingA
Comment Utility
Spot on, thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Have you ever had the experience that you had to follow 10 steps over and over again every time when you need to nicely forward an important email to your manager? Fear no more! With the help of the Quick Steps feature in Outlook 2010, your old chor…
How many times recently have you prepared a presentation or emailed a document to a client and you have found that they have older versions of MS Office and they can not open the file you have prepared.  Although most visitors to this site are exper…
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now