Solved

Pass variable from one pp slide to another

Posted on 2013-11-23
2
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

761 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