A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Repeat command every 5 min.



 
 
Thread Tools Display Modes
  #1  
Old February 10th, 2010, 02:45 PM posted to microsoft.public.visio.general
Igor G.
external usenet poster
 
Posts: 38
Default Repeat command every 5 min.

How to repeat this macro every 5 min.?
Thanks!

Sub SaveAsJPG()
Application.ActiveWindow.Page.Export "C:\pView.jpg"
End Sub
  #2  
Old February 10th, 2010, 03:50 PM posted to microsoft.public.visio.general
AlEdlund
external usenet poster
 
Posts: 468
Default Repeat command every 5 min.

put in a timer control (standard vb(a)) and have it fire off every five
minutes.
al


"Igor G." wrote in message
...
How to repeat this macro every 5 min.?
Thanks!

Sub SaveAsJPG()
Application.ActiveWindow.Page.Export "C:\pView.jpg"
End Sub


  #3  
Old February 10th, 2010, 06:59 PM posted to microsoft.public.visio.general
Igor G.
external usenet poster
 
Posts: 38
Default Repeat command every 5 min.

Can you give me code for this?
Thanks.

"AlEdlund" wrote:

put in a timer control (standard vb(a)) and have it fire off every five
minutes.
al


"Igor G." wrote in message
...
How to repeat this macro every 5 min.?
Thanks!

Sub SaveAsJPG()
Application.ActiveWindow.Page.Export "C:\pView.jpg"
End Sub


  #4  
Old February 10th, 2010, 07:33 PM posted to microsoft.public.visio.general
AlEdlund
external usenet poster
 
Posts: 468
Default Repeat command every 5 min.

http://www.tushar-mehta.com/excel/software/vba_timer/



"Igor G." wrote in message
...
Can you give me code for this?
Thanks.

"AlEdlund" wrote:

put in a timer control (standard vb(a)) and have it fire off every five
minutes.
al


"Igor G." wrote in message
...
How to repeat this macro every 5 min.?
Thanks!

Sub SaveAsJPG()
Application.ActiveWindow.Page.Export "C:\pView.jpg"
End Sub


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.