How can I check if the last char of a TEXTBOX is \
to find like
if text1 = "c:\windows" then
text1= "c:\windows\"
end if
Printable View
How can I check if the last char of a TEXTBOX is \
to find like
if text1 = "c:\windows" then
text1= "c:\windows\"
end if
Here you go:
Code:If Right$(Text1.Text, 1) = "\" Then
MsgBox "\ = found"
Else
MsgBox "\ = not found"
End If
than'x a lot..
:0)