Hello,
This has turned out to be hard, I have searched and searched on how to do this but found nothing that works
I have data that comes from a survey app, in column V that there is data like this
all the strings for 1-4, 5-9, 10-14 are being read by Excell as Dates and being turned into numbers 42739, 42864, 43022
So I first with vba FindReplace
Then I format the Column with vba
Then with vba FindReplace
I need this final step in vba
BUT I can find NOTHING that will do this
Thanks for any help on this
This has turned out to be hard, I have searched and searched on how to do this but found nothing that works
I have data that comes from a survey app, in column V that there is data like this
Code:
Years of Service
1-4
5-9
10-14
15-20
20-24
.
.
.
all the strings for 1-4, 5-9, 10-14 are being read by Excell as Dates and being turned into numbers 42739, 42864, 43022
So I first with vba FindReplace
Code:
[{"42739", "42864", "43022"}] >> [{"'42739", "'42864", "'43022"}] 'I add leading single qoute mark
Then I format the Column with vba
Code:
rng.NumberFormat = "@"
Then with vba FindReplace
Code:
[{"'42739", "'42864", "'43022"}] >> [{"1-4", "5-9", "10-14"}]
I need this final step in vba
Code:
[{"'1-4", "'5-9", "'10-14"}] >> [{"1-4", "5-9", "10-14"}] 'Remove the leading single quote mark
BUT I can find NOTHING that will do this
Thanks for any help on this
Last edited: