PC Review


Reply
Thread Tools Rate Thread

Calling out variable from another slide in VBA

 
 
Pendrome
Guest
Posts: n/a
 
      30th May 2010

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.
 
Reply With Quote
 
 
 
 
Chirag
Guest
Posts: n/a
 
      31st May 2010
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" <(E-Mail Removed)> wrote in message
news:484654D6-58E3-4A6E-B661-(E-Mail Removed)...
> 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.


 
Reply With Quote
 
Pendrome
Guest
Posts: n/a
 
      31st May 2010
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" <(E-Mail Removed)> wrote in message
> news:484654D6-58E3-4A6E-B661-(E-Mail Removed)...
> > 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.

>
> .
>

 
Reply With Quote
 
Chirag
Guest
Posts: n/a
 
      31st May 2010
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" <(E-Mail Removed)> wrote in message
news:5C239BBE-F9CE-43B5-8FA3-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:484654D6-58E3-4A6E-B661-(E-Mail Removed)...
>> > 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
calling a sub/function whose name is the value of a variable? H Microsoft VB .NET 5 21st Mar 2007 03:21 PM
Variable losing its value when calling new sub jim37055 Microsoft Excel Programming 2 6th Oct 2005 07:39 PM
calling sub by variable name =?Utf-8?B?RXlhbCBTZW1v?= Microsoft Access Form Coding 1 24th Jul 2005 04:39 PM
Calling Next Slide Error jonathan Microsoft Powerpoint 4 27th Oct 2004 02:35 PM
Calling a sub with a variable... =?Utf-8?B?R2FyeSBQaGlsbGlwcw==?= Microsoft Excel Programming 1 13th Jul 2004 10:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:21 PM.