LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro gives the wrong date format


Hello,

I have attached a macro with samples, this macro is calculating tim
between 2 dates and if a condition is met then colors the backgroun
RED, or a second condition if met colors the background Yellow.
What I really need is when the condition is met example 120 hours afte
the create date, to color background RED and give the date when the 12
hours occur, if create date is Feb 20 120 hour later it would be FE
24, right now it gives the time in decimal which really does not tel
me when it exceeded the time, the same for the yellow condition.
Now for the Medium and highs it should use only weekdays no weekends
for the TOPs it is 24/7 weekends included.

Thank you All in advance

+-------------------------------------------------------------------
|Filename: Open Report.zip
|Download: http://www.excelforum.com/attachment.php?postid=4396
+-------------------------------------------------------------------

--
chin_un_le
-----------------------------------------------------------------------
chin_un_len's Profile: http://www.excelforum.com/member.php...fo&userid=3091
View this thread: http://www.excelforum.com/showthread.php?threadid=51642

 
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
from date format convert to text format is wrong nooris Excel Discussion (Misc queries) 2 February 4th 10 03:41 PM
date in wrong format Mike New Users to Excel 3 November 15th 08 08:42 PM
Date in wrong format GKW in GA Excel Discussion (Misc queries) 6 February 19th 08 03:21 PM
Wrong date format in header Curt Charles PDX Excel Discussion (Misc queries) 1 October 25th 06 10:42 PM
ShowDataForm Date format wrong RichardS Excel Programming 4 May 20th 04 03:29 PM


All times are GMT +1. The time now is 06:11 PM.

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"