473,387 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

close Power Point After set time

1
Looking for a script to close ms power point after a set time ie 3 mins
Oct 18 '07 #1
1 1211
kadghar
1,295 Expert 1GB
Looking for a script to close ms power point after a set time ie 3 mins
I'll supose you're working with VBA in powerpoint.

since you dont have timers in vba, you'll have to use DoEvents, something like this should work:

Expand|Select|Wrap|Line Numbers
  1. dim t as single
  2. t=timer
  3. do
  4.     if t+180<= timer then application.quit
  5.     doevents
  6. loop
you can add this line at the begining to avoid alerts (like "do you want to save" etc...):

application.displayalerts=false

HTH
Oct 18 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

28
by: PerryC | last post by:
Anyone know how to auto close the parent / opener window without confirmation? I have tried: <script> opener.window.close() </script> ----I put it in the child html page, and nothing...
2
by: Yuriy Zubarev | last post by:
Hello everyone, I have main application form (child of System.Windows.Forms.Form) that hosts quite a number of different visual components. Some time after working with those components, the...
1
by: Rashmi | last post by:
I have to create a power point from a web application and render it on a web browser. I tried automation of office power point on the server but read an article published by microsoft which talks...
0
by: Austen | last post by:
my application will open a power point, append variable slides into it and run the power point presentation show. after the show end . i have to quite the power point. currently i using sleep...
3
by: waheed iqbal | last post by:
I am working on Power Point Automation and i just want to disable Delete Slide Option , Is there any way to disable delete slides option from right click menu and using delete key.
6
by: maxthebaz | last post by:
Our machines have this requirement: if power failure occurs, many important variables are to be resumed from where they were interrupted after the machine is restarted (power on in this case). In...
0
by: yuenli | last post by:
Hi! I am using Microsoft Office Interop Power Point to build a Power Point Automation program. Does anyone know how to insert a table in the power point slide using the above object library?...
16
by: nagmvs | last post by:
Hi, Can any one tell me How to disable Keyboard Functions using JavaScript.If knows please tell me the code.Also tell me the code for mouse disable also. Thanks, Nagesh.
2
by: yimma216 | last post by:
Powerpoint experienced a serious problem with the 'office special symbol input add-in' add-in. if you have seen this message multiple times, you should disable this add-in and check to see if an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.