I know how to do this within excel but now I need to do it with VBA and im not sure how to approach this.
I have a series of numbers for example 0409-792-1
I need to make sure that the 1st set always has 5 digits the 2nd has 4 and the 3rd has 2.
If it does not then I need to add zeros on the front of the series so it would look like 00409-0792-01
This series of numbers will be found in cell Db.Cells(I,2).Value
If any additional information is needed please let me know.
Thank you
I have a series of numbers for example 0409-792-1
I need to make sure that the 1st set always has 5 digits the 2nd has 4 and the 3rd has 2.
If it does not then I need to add zeros on the front of the series so it would look like 00409-0792-01
This series of numbers will be found in cell Db.Cells(I,2).Value
If any additional information is needed please let me know.
Thank you