PatrickMilano21
New Member
- Joined
- Jun 17, 2015
- Messages
- 10
I used the function: MRound(Cells(i, 1).Value, 1 / 24), to round each of my dates to the nearest hour. I now have cells that look like the following: (1/1/2014 12:00:00 AM), (1/1/2014 1:00:00 AM), (1/1/2014 2:00:00 AM)..... ETC.
How do I write a program that extracts JUST THE HOUR. SO for the examples above I would get:
12:00:00, 1:00:00, and 2:00:00.
Please help!!! Thank you!!
How do I write a program that extracts JUST THE HOUR. SO for the examples above I would get:
12:00:00, 1:00:00, and 2:00:00.
Please help!!! Thank you!!