Solved

Pass variable from one pp slide to another

Posted on 2013-11-23
2
244 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
ID: 39672485
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
ID: 39672710
Spot on, thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Perhaps more familiar to developers who primarily use VBScript than to developers who tend to work only with Microsoft Office and Visual Basic for Applications (VBA), the Dictionary is a powerful and versatile class, and is useful …
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

829 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