macro to control other programs

T

theintern

I need a macro in powerpoint, called CreateShow, that will run macros in
Project, called ImportAll, TwoWeeks, OneWeek. Is there a way to do this?
I've read a bit in the help file, but it's not enough code to actually get me
there, or to convince me this can actually be done. Also, within the
ImportAll macro, I it to run a macro in Access, called TriFilter2, a shortcut
to which is on my desktop (if that helps any).

thanks
scott
 
T

theintern

Here is my code with comments where i need additional code. Any help would
be so much appreciated.

Sub CreateShow()
'Run ImportAll in Project
ActivePresentation.Slides(1).Select
ActiveWindow.View.Paste
'Run TwoWeeks in Project
ActivePresentation.Slides(2).Select
ActiveWindow.View.Paste
'Run OneWeek in Project
ActivePresentation.Slides(3).Select
ActiveWindow.View.Paste
With ActivePresentation.SlideShowSettings
.ShowType = ppShowTypeSpeaker
.LoopUntilStopped = msoFalse
.ShowWithNarration = msoTrue
.ShowWithAnimation = msoTrue
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.RGB = RGB(Red:=255, Green:=0, Blue:=0)
.Run
End With
'SlideShowWindows(Index:=1).View.Exit

End Sub
 
T

theintern

Yes, I mean Microsoft Project. Do you have any idea how to? I'll also post
this in the project section.

thanks
scott
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top