Padding Strings into Textbox

I'm trying to figure out how to Pad fields in strings, basically I have information that needs to be separated by a certain amount of spaces.  I have several text fields that all have different data and each will be different on the amount of spaces required as well may have more or less columns.

I.E. (I need this kind of format were each column is in line)
1   1098774978                  79787440604604665540                     44587749        7790014              3
34 109878                          7978744060460466                             87749              77014                  2
(Not this, if the numbered strings are shorter or longer than any others)
34 109878                  7978744060460466                     87749        77014              2
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can pad a field to a fixed length, say 10 characters

strNew = Left$(strField & space(10),10)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alternatively you can use fixed-length string variables

Dim strNew As String * 10
strNew = strField

Open in new window

thaburnerAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.