[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Pass variable from one pp slide to another

Posted on 2013-11-23
2
Medium Priority
?
251 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 2000 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

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 …
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

650 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