Creating Text Files

I am currently creating a text file.  I have no problem creating it but do have a problem spacing the information out they way I want it to look.
 (Example:
Print #1, txtSSN & "   " & txtMemID.Text & "    " & txtLast.Text & txtFirst.Text)

I am printing out the information from seperate text boxes and would like the txtLast to be at least 20 characters long before printing out txtFirst, even if the last name is only 5 characters in length.  If you could help me out, I would greatly appreciate it.  Thanks.
jwellisAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jbilConnect With a Mentor Commented:
Dim strLast As String * 20
strLast = txtLast.text
Print #1, txtSSN & "   " & txtMemID.Text & "    " & strLast & txtFirst.Text)


0
 
jwellisAuthor Commented:
Thank you very much.  Appreciate the help.

Jamie
0
All Courses

From novice to tech pro — start learning today.