Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, I am using code to fill data onto a ws and once the values have been pasted, the format is changed to "hh:mm", however, time values which occur before 06:00 also have the date (01/01/1900) added to them and this means a calculation which determins the time between the start and finish times does not work. Any ideas why excel is adding this date data? If I overwright the time value the caluication works. The code I am using to set the format is: - With Selection .NumberFormat = "hh:mm" End With can you help? Regards, Matt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Time Conversion issue | Excel Discussion (Misc queries) | |||
Military Time Issue | Excel Discussion (Misc queries) | |||
Time on the X Axis Issue | Charts and Charting in Excel | |||
Excel Time issue | Excel Programming | |||
Run Time Issue | Excel Programming |