B
bobdydd
Hi
I am trying to copy a web address eg
http://www.mysite.com
to a textbox called "txttrunc1" and strip away
the http://www. so that only the
mysite.com is left
by using the code below.
But it keeps adding a # "hash sign
so that I end up with mysite.com#
How can I remove the final #
Thanks
Bill
Private Sub Command65_Click()
Dim MyLine As String
MyLine = Me.txtPageAddress
MyLine = Mid(MyLine, 13, Len(MyLine) - 1)
Me.txttrunc1 = MyLine
End Sub
I am trying to copy a web address eg
http://www.mysite.com
to a textbox called "txttrunc1" and strip away
the http://www. so that only the
mysite.com is left
by using the code below.
But it keeps adding a # "hash sign
so that I end up with mysite.com#
How can I remove the final #
Thanks
Bill
Private Sub Command65_Click()
Dim MyLine As String
MyLine = Me.txtPageAddress
MyLine = Mid(MyLine, 13, Len(MyLine) - 1)
Me.txttrunc1 = MyLine
End Sub