A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calling out variable from another slide in VBA



 
 
Thread Tools Display Modes
  #1  
Old May 30th, 2010, 12:37 PM posted to microsoft.public.powerpoint
Pendrome
external usenet poster
 
Posts: 8
Default Calling out variable from another slide in VBA

On Slide2, I have a variable named BackButtonStatus. If I am coding for
Slide3, how do I call out to get the value of BackButtonStatus? Thanks.
  #2  
Old May 31st, 2010, 03:00 AM posted to microsoft.public.powerpoint
Chirag
external usenet poster
 
Posts: 595
Default Calling out variable from another slide in VBA

Slide2.BackButtonStatus will get you that. Ensure that BackButtonStatus is
declared at slide-level and as a public variable.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html

"Pendrome" wrote in message
...
On Slide2, I have a variable named BackButtonStatus. If I am coding for
Slide3, how do I call out to get the value of BackButtonStatus? Thanks.


  #3  
Old May 31st, 2010, 03:30 PM posted to microsoft.public.powerpoint
Pendrome
external usenet poster
 
Posts: 8
Default Calling out variable from another slide in VBA

How do I declare the variable as a public variable? I have tried
Slide2.BackButtonStatus but it seems its trying to look for a macro on that
slide rather than a variable.

"Chirag" wrote:

Slide2.BackButtonStatus will get you that. Ensure that BackButtonStatus is
declared at slide-level and as a public variable.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html

"Pendrome" wrote in message
...
On Slide2, I have a variable named BackButtonStatus. If I am coding for
Slide3, how do I call out to get the value of BackButtonStatus? Thanks.


.

  #4  
Old May 31st, 2010, 04:25 PM posted to microsoft.public.powerpoint
Chirag
external usenet poster
 
Posts: 595
Default Calling out variable from another slide in VBA

When you said "On Slide2, I have a variable named BackButtonStatus", how
have you declared your variable on slide 2? Can you please post that part of
code?

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html

"Pendrome" wrote in message
...
How do I declare the variable as a public variable? I have tried
Slide2.BackButtonStatus but it seems its trying to look for a macro on
that
slide rather than a variable.

"Chirag" wrote:

Slide2.BackButtonStatus will get you that. Ensure that BackButtonStatus
is
declared at slide-level and as a public variable.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html

"Pendrome" wrote in message
...
On Slide2, I have a variable named BackButtonStatus. If I am coding for
Slide3, how do I call out to get the value of BackButtonStatus? Thanks.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:49 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.