Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Message box for overdue dates

Hi

i am trying creat a message box which will pop up when a date is
overdue but using the current system date?

any ideas of the code, i have had a fiddle but they have not done what
i need it to do!

Cheers

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Message box for overdue dates

Try something along the lines of

If Range("A1").Value <= Now Then
MsgBox "A1 Is Overdue: " &Format(Range("A1").Value,"dd-mmm-yyyy")
End If

This will display the MsgBox if the value of A1 is earlier than the current
system date and time.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

wrote in message
ups.com...
Hi

i am trying creat a message box which will pop up when a date is
overdue but using the current system date?

any ideas of the code, i have had a fiddle but they have not done what
i need it to do!

Cheers


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
Overdue Delivery Dates Kelly_Durden New Users to Excel 5 January 31st 08 09:06 AM
Trying to create an overdue message based on set dates Craig Excel Discussion (Misc queries) 5 November 23rd 07 04:05 PM
Due Dates / Overdue items Nic Excel Discussion (Misc queries) 5 June 28th 06 07:15 AM
conditional formatting overdue dates Joooooooo Excel Discussion (Misc queries) 1 February 8th 05 11:33 AM
conditional formatting overdue dates Joooooooo Excel Discussion (Misc queries) 1 February 7th 05 01:14 PM


All times are GMT +1. The time now is 01:52 AM.

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

About Us

"It's about Microsoft Excel"