extracting time from a cell

  • Thread starter Thread starter gil eiliya
  • Start date Start date
G

gil eiliya

hi.

i work with vb6 and excel 2000 on win2k and i have the following problem
i need to extract data from an excel worksheet that holds a report from
a worker that fills the date and time his action took place, the format
is like this : one cell holds the date in the following format 22.11.2004
the second cell holds the hour in the following format 8:30
when i try to extract the time i get .354166666666667
how can i get the time in the correct format 8:30?
i can handle even if i get it with the seconds like 8:30:00

thanks in advance
gil eiliya
 
I think you did good.

Try formatting that cell (with .354166666666667) as: HH:MM (or HH:MM:SS)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top