Hi,
I need VBA code that will copy date from a cell.
For eg., Cell has value like - "Sam_Valanju 03/21/1988" then only date should be copied to another cell i.e. 03/21/1988
Hi,
I need VBA code that will copy date from a cell.
For eg., Cell has value like - "Sam_Valanju 03/21/1988" then only date should be copied to another cell i.e. 03/21/1988
Do you have a few samples that you can provide?
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
Yes,
Below are the smples that you could copy in excel cells for investigation -
E54321 10/7/2012 Order as Unit 1
Lat321 10/9/2012
E54321 9/13/2012
Sam_Valanju 03/21/1988
Tom,
I tried your formula too, but i guess the last digit should be 10 and not 9 like this =TRIM(MID(A2,FIND("/",A2)-2,10))
If its 9, it does not show the full year for the last 2 rows.
I think this would definitely help me
I'll convert and try it in VBA.
Thanks for your quick help !!!
Hi look into attachment and tell is iti ok?
Regards
tom1977
If You are satisfied with my solution click the small star icon on the left to say thanks.
@Arlu, You are right
thx
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks