Hi,
I have column with below date value in it.
I need VBA which will convert the value to 6/18/2014 1:44:13 PM in cell.Please Login or Register to view this content.
Please assist.
Thanks,
Shiva
Hi,
I have column with below date value in it.
I need VBA which will convert the value to 6/18/2014 1:44:13 PM in cell.Please Login or Register to view this content.
Please assist.
Thanks,
Shiva
Keep the Forum clean :
1. Use [ code ] code tags [ /code ]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
2. Show appreciation to those who have helped you by clicking * Add Reputation below their posts.
3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.
I tried this one, But it changes the date to 6/18/2014 12:00:00 AMPlease Login or Register to view this content.
Shiva,
I have not looked at your code, but this gives the right format. I have tried it on range("A17") and converted in B17.
Please Login or Register to view this content.
It works well..But how to make it run on every cell?
Thanks,
Shiva
Like Entire A column to B column?
Where is the data? Which column? If the data are in Jun-18-2014 01:44:13 PM format, you just need to
loop through each cell and convert them in proper format.
Column A
Jun-18-2014 04:24:57 PM
Jun-10-2014 06:58:33 AM
Jun-06-2014 10:20:47 AM
Jul-02-2014 12:19:19 PM
Jul-01-2014 10:49:19 AM
Jun-10-2014 02:38:33 AM
Jun-18-2014 12:10:32 PM
Jun-20-2014 12:48:55 PM
Jun-23-2014 12:07:41 PM
Jun-27-2014 12:13:53 PM
Jun-09-2014 04:30:22 PM
Jun-11-2014 03:11:08 PM
If it is column A ONLY, remove the second line.
Please Login or Register to view this content.
Thanks for the code AB. Works perfect.
Thanks,
Shiva
Thanks a lot.. Both code works perfect.
Note: Please ignore.. Accidental type through Android App.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks