Excel macro to edit cell format

Joined
Mar 18, 2010
Messages
1
Reaction score
0
I'm working in Excel with columns of time data imported from text files, but they have no colons to separate the hours, minutes and seconds. I need a macro that will go into each cell and add the colons and leading zeros.

Examples:

160344 changed to 16:03:44
82722 changed to 8:27:22
34 changed to 0:00:34

Thanks
 

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


Top