hellfire45
Active Member
- Joined
- Jun 7, 2014
- Messages
- 462
Hey guys,
So I am transposing data into a file and some of the rows have part numbers with leading zeros and some do not. In the event that they have leading zeros, the VBA is erasing them when transposing. I would just format all of the numbers as text but some of them are not text.
So in the instance that the part number is formatted as text, I want to transpose it that way with the leading zeros. In the event that the part number is normal we'll say with either letters or numbers but no leading zeros, I just want to transpose it as is.
Any suggestions on maintaining these leading zeros while not modifying the other part numbers? Thanks!
So I am transposing data into a file and some of the rows have part numbers with leading zeros and some do not. In the event that they have leading zeros, the VBA is erasing them when transposing. I would just format all of the numbers as text but some of them are not text.
So in the instance that the part number is formatted as text, I want to transpose it that way with the leading zeros. In the event that the part number is normal we'll say with either letters or numbers but no leading zeros, I just want to transpose it as is.
Any suggestions on maintaining these leading zeros while not modifying the other part numbers? Thanks!