PC Review


Reply
Thread Tools Rate Thread

Auto-Running a Macros...

 
 
Ryan Baskwell
Guest
Posts: n/a
 
      9th Apr 2004
I wrote a macros using the VB editor of PowerPoint, which
opens a [Macromedia Director] EXE file on my computer. I
wanted to run this macros, not from clicking on a button
(using the mouse-click action setting). I would like it
it automatically run once the slide containing the macros
is viewed. For example, if the macros is on slide number
eight, when that particular slide is viewed in
ScreenShow, I wanted that EXE file to open (via the
macros).

Is this possible, and if so could anyone point me in the
right direction?

Thanks in advance!
-Ryan Baskwell
 
Reply With Quote
 
 
 
 
David M. Marcovitz
Guest
Posts: n/a
 
      9th Apr 2004
How are you getting to slide 8? If you use VBA to get to slide 8
(ActivePresenation.SlideShowWindow.View.GotoSlide 8), then you can add a
call to your macro in the same procedure that jumps to slide 8.
--David

--
David M. Marcovitz, Ph.D.
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/

"Ryan Baskwell" <(E-Mail Removed)> wrote in news:1ab7801c41e3d
$1b37da20$(E-Mail Removed):

> I wrote a macros using the VB editor of PowerPoint, which
> opens a [Macromedia Director] EXE file on my computer. I
> wanted to run this macros, not from clicking on a button
> (using the mouse-click action setting). I would like it
> it automatically run once the slide containing the macros
> is viewed. For example, if the macros is on slide number
> eight, when that particular slide is viewed in
> ScreenShow, I wanted that EXE file to open (via the
> macros).
>
> Is this possible, and if so could anyone point me in the
> right direction?
>
> Thanks in advance!
> -Ryan Baskwell
>


 
Reply With Quote
 
Ryan Baskwell
Guest
Posts: n/a
 
      9th Apr 2004
Thanks for your assistance, David.

I wanted to get to slide 8 by hitting the space bar in
ScreenShow in slide number 7.

Do you think that's still possible?

Thanks again,
Ryan

>-----Original Message-----
>How are you getting to slide 8? If you use VBA to get

to slide 8
>(ActivePresenation.SlideShowWindow.View.GotoSlide 8),

then you can add a
>call to your macro in the same procedure that jumps to

slide 8.
>--David
>
>--
>David M. Marcovitz, Ph.D.
>Director of Graduate Programs in Educational Technology
>Loyola College in Maryland
>Author of _Powerful PowerPoint for Educators_
>http://www.loyola.edu/education/PowerfulPowerPoint/
>
>"Ryan Baskwell" <(E-Mail Removed)> wrote in

news:1ab7801c41e3d
>$1b37da20$(E-Mail Removed):
>
>> I wrote a macros using the VB editor of PowerPoint,

which
>> opens a [Macromedia Director] EXE file on my computer.

I
>> wanted to run this macros, not from clicking on a

button
>> (using the mouse-click action setting). I would like

it
>> it automatically run once the slide containing the

macros
>> is viewed. For example, if the macros is on slide

number
>> eight, when that particular slide is viewed in
>> ScreenShow, I wanted that EXE file to open (via the
>> macros).
>>
>> Is this possible, and if so could anyone point me in

the
>> right direction?
>>
>> Thanks in advance!
>> -Ryan Baskwell
>>

>
>.
>

 
Reply With Quote
 
David M. Marcovitz
Guest
Posts: n/a
 
      9th Apr 2004
In versions of PowerPoint starting with 2000, I believe it is possible to
trap events, such as opening a slide, but I don't know how to do it.
Hopefully someone else can help you.
--David

--
David M. Marcovitz, Ph.D.
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/

"Ryan Baskwell" <(E-Mail Removed)> wrote in news:17ad201c41e41
$65a116e0$(E-Mail Removed):

> Thanks for your assistance, David.
>
> I wanted to get to slide 8 by hitting the space bar in
> ScreenShow in slide number 7.
>
> Do you think that's still possible?
>
> Thanks again,
> Ryan

 
Reply With Quote
 
Ryan Baskwell
Guest
Posts: n/a
 
      9th Apr 2004
Great, thanks for the advice and your help.

-Ryan

>-----Original Message-----
>In versions of PowerPoint starting with 2000, I believe

it is possible to
>trap events, such as opening a slide, but I don't know

how to do it.
>Hopefully someone else can help you.
>--David
>
>--
>David M. Marcovitz, Ph.D.
>Director of Graduate Programs in Educational Technology
>Loyola College in Maryland
>Author of _Powerful PowerPoint for Educators_
>http://www.loyola.edu/education/PowerfulPowerPoint/
>
>"Ryan Baskwell" <(E-Mail Removed)> wrote in

news:17ad201c41e41
>$65a116e0$(E-Mail Removed):
>
>> Thanks for your assistance, David.
>>
>> I wanted to get to slide 8 by hitting the space bar in
>> ScreenShow in slide number 7.
>>
>> Do you think that's still possible?
>>
>> Thanks again,
>> Ryan

>.
>

 
Reply With Quote
 
Brian Reilly, MS MVP
Guest
Posts: n/a
 
      9th Apr 2004
Ryan and David,
All about events in PPT with VBA at
http://www.rdpslides.com/pptfaq/FAQ00004.htm

That page also has links to Shyam Pillai's site who was the original
author of the event story in PPT.

Brian Reilly
 
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
stop auto macros running when opening a file by code =?Utf-8?B?R3JhaGFtIFk=?= Microsoft Excel Programming 1 14th Aug 2007 05:25 PM
folder locations for auto text, auto correct, macros, etc. =?Utf-8?B?am1pbGxhcg==?= Microsoft Word Document Management 1 5th Nov 2006 04:13 AM
Question on Auto-Starting/Auto-Running a PPT Presentation none Microsoft Powerpoint 2 27th Oct 2004 10:57 PM
Auto running macros on a network aah-boy Microsoft Excel Programming 5 2nd Nov 2003 09:14 PM
Finding macros, Auto Correct and Auto Text entries George M. Lutz Microsoft Word New Users 1 20th Sep 2003 10:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:17 PM.