#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default time generated code

Is it possible to, at the same time every day, open a workbook or recalc it
if it's already open, perform some test on a date field and if the condition
is true, generate a popup or msgbox? Can you make the message box appear on
top of all windows?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default time generated code

Yeah, using OnTime. See http://www.cpearson.com/excel/ontime.htm

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Steve" wrote in message
...
Is it possible to, at the same time every day, open a workbook or recalc
it
if it's already open, perform some test on a date field and if the
condition
is true, generate a popup or msgbox? Can you make the message box appear
on
top of all windows?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default time generated code

Check out the OnTime method in the VBA helpfile.

Here's a great overview from Chip Pearson: Scheduling Events With OnTime And
Windows Timers

Hope that helps,
Roger

"Steve" wrote:

Is it possible to, at the same time every day, open a workbook or recalc it
if it's already open, perform some test on a date field and if the condition
is true, generate a popup or msgbox? Can you make the message box appear on
top of all windows?

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
Video Time Code Smith Excel Discussion (Misc queries) 1 May 10th 07 12:41 AM
Time Code in Cell format ? [email protected] Excel Discussion (Misc queries) 3 December 10th 06 11:29 AM
Code for entering time - trying again Denise Excel Discussion (Misc queries) 4 September 29th 05 08:37 PM
Code for entering time Denise Excel Discussion (Misc queries) 6 September 29th 05 08:15 PM
Custom dat & time code Wuddus Excel Discussion (Misc queries) 1 February 16th 05 01:15 AM


All times are GMT +1. The time now is 07:28 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"