i'm working on a VBA code in which i need to define each field as a specific length, and justify (or pad) the empty spaces. each column needs to be defined a specific length and will not change in the future.
i'm thinking i need to define the range as a string, with a fixed length type? does anyone have a snippet of code or some suggestions on how to write this? i can't imagine it would be terribly hard, but i've already spent a few unsuccessful hours already.
any help is much appreciated!
i'm thinking i need to define the range as a string, with a fixed length type? does anyone have a snippet of code or some suggestions on how to write this? i can't imagine it would be terribly hard, but i've already spent a few unsuccessful hours already.

any help is much appreciated!