Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default VBA auto running

Hello,

I am trying to create an automated way to run an application. I want
to be able to run another application, once a day at a set time, but
not to run on Sunday.


Is this possible ?

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default VBA auto running

hi,
What is the other application.
here is a time delayed macro i use daily. it skips
weekends. but this calls another excel macro(macAStart)
which runs in excel. i am not sure you can run another
application with excel. if it isn't excel, you may want to
check out Lotus Notes.

Sub macALaunchMR()
If Weekday(Now()) = 6 Then '1 = Sunday, 2 = Monday
Application.OnTime Now() + 2.5 + TimeValue
("00:00:01"), "macAStart"
Else
Application.OnTime TimeValue("05:00:00"), "macAStart"
End If
End Sub


-----Original Message-----
Hello,

I am trying to create an automated way to run an

application. I want
to be able to run another application, once a day at a

set time, but
not to run on Sunday.


Is this possible ?

Thanks in advance
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default VBA auto running

"Frank Stone" wrote in message ...
hi,
What is the other application.
here is a time delayed macro i use daily. it skips
weekends. but this calls another excel macro(macAStart)
which runs in excel. i am not sure you can run another
application with excel. if it isn't excel, you may want to
check out Lotus Notes.

Sub macALaunchMR()
If Weekday(Now()) = 6 Then '1 = Sunday, 2 = Monday
Application.OnTime Now() + 2.5 + TimeValue
("00:00:01"), "macAStart"
Else
Application.OnTime TimeValue("05:00:00"), "macAStart"
End If
End Sub


The programme i am trying to run is Called Inform, it is a programme
for reporting and recording data through Access. It allows for VBA
programmed plug-ins to work, i am aware of another person/company that
does this with there software.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto running a macro on closing Jimmy D Excel Discussion (Misc queries) 6 November 22nd 07 01:58 AM
Running a macro from an auto-refresh Chris Youlden Excel Worksheet Functions 2 October 7th 07 04:22 PM
Running auto correct on startup? Mitch Excel Discussion (Misc queries) 1 November 28th 05 06:38 PM
Auto generation of 3 levels of running number hamiraj Excel Worksheet Functions 1 December 27th 04 10:31 AM


All times are GMT +1. The time now is 03:37 PM.

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

About Us

"It's about Microsoft Excel"