I have a button which places text into a text box which is then copied to emails.

here is the code:

TextBox40.Text = "IP Address :" & Ip & vbCrLf & "Default Gateway:" & Gw & vbCrLf & "Subnet Mask :" & Sm & vbCrLf & "DNS Servers :" & Dns

which results in:

IP Address :
Default Gateway:
Subnet Mask :
DNS Servers :

I'm trying to make the colons line up in a straight line vertically but can't seem to get them to match.

Any ideas?