Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() x = "2:01" debug.print format (x,"0# ##") I get 00 00 Shouldn't this return 02 01 ?? Thanks - Kirk |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
x is representing time so use format("2:01","hh mm") Cheers Andy -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info "kirkm" wrote in message ... x = "2:01" debug.print format (x,"0# ##") I get 00 00 Shouldn't this return 02 01 ?? Thanks - Kirk |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Kirk,
What is "2:01" a time? if so Debug.Print Format(x, "hh:mm") returns 02:01 Debug.Print Format(x, "hh mm") returns 02 01 Mike "kirkm" wrote: x = "2:01" debug.print format (x,"0# ##") I get 00 00 Shouldn't this return 02 01 ?? Thanks - Kirk |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Mike & Andy.
Sanity restored! Cheers - Kirk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format the command for the Currency button | Excel Discussion (Misc queries) | |||
Format Cell command will not function | Excel Discussion (Misc queries) | |||
Format command | Excel Programming | |||
DDE Command to Format Cell | Excel Programming | |||
DDE Command to Format Cell | Excel Programming |