Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am working on some macros to automate charting and am having trouble with
the column that contains the times (x values). In particular, the column is formatted as type "Custom hh:mm" and so I simply tried the following: strDateStart = ActiveCell.Value which returns a decimal time. I have tried applying the TimeValue function to the cell contents strDateStart = TimeValue(ActiveCell.Value) but it gives me a type mismatch error. Could anyone please shed any light on this. Thanks a lot P.S. The Excel spreadsheet has been itself auto-generated via a third party Delphi application. So I cannot control the original format of the source data. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Displaying a decimal as years and months | Excel Worksheet Functions | |||
Displaying decimal places | Excel Discussion (Misc queries) | |||
Displaying decimal places | Excel Worksheet Functions | |||
If then statement displaying 2 or 3 decimal places | Excel Worksheet Functions | |||
Displaying only digits after the decimal point | Excel Worksheet Functions |