Schedule a subroutine to start at a specific time
I'm trying to find out if there is an equivalent of Excel's OnTime
event for PowerPoint 2003; I would like to call a subroutine at a spec开发者_如何学编程ific time of day.
I'm not sure if there's an equivalent to OnTime, but here's another option. You can create a macro that calls that subroutine, then create a Windows Scheduled Task to call that macro like so:
"c:\program files\microsoft office\office12\POWERPNT.exe" /M myfile.pptm "MyMacro"
Source: Powerpoint command line switches.
精彩评论