I have a vba macro in excel that takes the contens of a cell from column "B" and adds it to the contents of column "C" (puts it in a cell in sheet2) based on the contents of a cell in column "A" & "B". The issue is that the contents of column "C" my be prefaced with leading zeros ie - "001" or "085" etc. Column "B" is a six digit lot number & column "C" is always a 3 digit counter to produce a 9 digit number. The problem is that my VBA code is truncating any leading zeros. I think this may be because I have the cells set to a custom format of "000" for column "C" (had to do this to get the leading 0's to appear. Can anyone suggest a solution? My code is at work but I can provide on Monday if need be.
Regards,
longhair
Regards,
longhair