I work for a freight logistics company that ships for Motorola. We are needing to scan in serial numbers and tracking numbers from the frieght when it hits our dock. We have been scanning the numbers into Excel 2003, but it only enters the data down the selected column.

This is the format that we are wanting:

http://img.photobucket.com/albums/v6...ey/serials.jpg


I'm working in VBA to sort all of the numbers once they're entered, but am having troubles finding code to recognize the number of digits. There are 8 different sets of numbers that need to be sorted.

Any advice/ideas would be very helpful.