Hi
I'm trying to use the find function to loop through and find the numbers 01, 02, 03 through to 15 (and then do something etc). However, vba will not accept any leading zeros e.g. when i type "For c = 01 To 15", it changes it to "For c = 1 To 15". How can I format the code to accept a leading zero on numbers 1-9 and then no zero from 10 onwards?
Thanks for your help
I'm trying to use the find function to loop through and find the numbers 01, 02, 03 through to 15 (and then do something etc). However, vba will not accept any leading zeros e.g. when i type "For c = 01 To 15", it changes it to "For c = 1 To 15". How can I format the code to accept a leading zero on numbers 1-9 and then no zero from 10 onwards?
Thanks for your help