Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Time function in Excel
How can I programme an individual cell in an Excel spreadsheet to
perform a task depending on what time is entered into it. i.e. if any time is entered which falls between 12.00 noon and 1.30 pm, I want a message box to appear saying "Remember to Order Lunch". Any ideas? Thanks for your help. Kind regards Paddymichelle |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Time function in Excel
if time = TimeValue("12:00 PM") or time <= TimeValue("1:00 PM") then
-- Regards, Tom Ogilvy "Ian M" wrote in message om... How can I programme an individual cell in an Excel spreadsheet to perform a task depending on what time is entered into it. i.e. if any time is entered which falls between 12.00 noon and 1.30 pm, I want a message box to appear saying "Remember to Order Lunch". Any ideas? Thanks for your help. Kind regards Paddymichelle |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Time function in Excel
Tom Ogilvy wrote:
if time = TimeValue("12:00 PM") or time <= TimeValue("1:00 PM") then should be "and" not "or"? Damo |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro / function text time to 24hr excel time passed midnight fortotaling hr's | Excel Worksheet Functions | |||
Excel Time Function | Excel Worksheet Functions | |||
HOW DO I KEEP THE FUNCTION BOX OPEN ALL THE TIME IN EXCEL? | Excel Discussion (Misc queries) | |||
Why won't the SUMIF function in Excel add time? | Excel Worksheet Functions | |||
TIME function used in Excel | Excel Worksheet Functions |