I have this string........actually its the contents of a cell..........I want to extract the date part of this string and then save it back onto itself.
i am enclosing a file with the example strings.
I have this string........actually its the contents of a cell..........I want to extract the date part of this string and then save it back onto itself.
i am enclosing a file with the example strings.
Maybe:
Please Login or Register to view this content.
Regards
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
exactly what i was looking for.....thanks.
You're welcome. Thanks for the rep.
Here is the code i ended up with. I combined code from several different threads i have posted...........i keep learning about how to more efficiently do things........this code is cool because it puts values into array efficiently and then extracts them from the array very efficiently.
Please Login or Register to view this content.
Just thought i would share.
one question i did have about the array that someone might answer is.........why is the array two dimensional........not sure why the creator of the code did it this way but it works.
Interested in efficiency ?
Please Login or Register to view this content.
ok, that is just too cool. but what about if the number of rows in col A is variable and could be more than 100?
very cool !
Either you take a safe range:
or you use a dynamically named range:Please Login or Register to view this content.
Please Login or Register to view this content.
thanks! Had a few questions.
1) What is c00?
2) what is this doing exactly?
Please Login or Register to view this content.
"c00" is a text string; any string would do as long as you use it in the next line in the places where c00 is now.
second question: that line makes a named range of all the cells in column A that contain values. The name of that range is "c00" in this example.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks