Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2008

Tip: Looking for answers? Try searching our database.

Schedule a macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ewan7279 - 02 Apr 2008 14:56 GMT
Hi all,

I would like to schedule a macro to run at 22 minutes and 52 minutes past
the hour, so that the latest information available to the spreadsheet is
updated asap (usually available by 21 mins and 51 mins past the hour) to
remove the problem of the user forgetting to do so manually.

The macro is currently a Private Sub updated by the user 'as and when' by
clicking an embedded button on a worksheet, so I would like the solution to
recognise if the user is trying to update before the next info becomes
available (to avoid duplicating info unnecessarily).  (In some cases, there
may be a need for the user to update additionally outside of these
parameters, so the button will have to remain).

If possible, I would prefer not to have this in a separate incidence of
Excel...

Any ideas please??

Thanks,
Ewan.
JP - 02 Apr 2008 18:34 GMT
If you are running Office 2000-2003, you could schedule a task
reminder in Outlook, then set up an event to monitor the reminder.
When the reminder fires, the event could instantiate Excel and run the
macro unattended.

I have some sample code here you can adapt:

http://codeforexcelandoutlook.com/outlook.html

Scroll down to "Automate Outlook"

HTH,
JP

On Apr 2, 9:56 am, ewan7279 <ewan7...@discussions.microsoft.com>
wrote:
> Hi all,
>
[quoted text clipped - 17 lines]
> Thanks,
> Ewan.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.