Pass variable from one pp slide to another

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.
SweetingAAsked:
Who is Participating?
 
JSRWilsonConnect With a Mentor Commented:
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
 
SweetingAAuthor Commented:
Spot on, thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.