I have been trying to develop a macro to help me take in a file and for each charater field, find it's formatted length, max length, and a sample of up to 5 of the longest records. I have a macro to find largest value and formated length. However, my thought is to assign a length variable for each character field, and then select the top 5 for each variable. Any help in looping through the variables and assigning it would be great.
T
T