J
John
Hi
I have an htm text file which has just one word 'test' (without quotes) in
it. When I try to read it via below code;
Dim fso
Dim Ts
Dim emessage1 As String
Set fso = CreateObject("Scripting.FileSystemObject")
Set Ts = fso.OpenTextFile("myfile.htm", 1)
emessage1 = Ts.ReadAll
The value read in message1 is 'test' ie the system adds additional
characters in front of word test. What is the problem and how can I get rid
of these additional characters?
Thanks
Regards
I have an htm text file which has just one word 'test' (without quotes) in
it. When I try to read it via below code;
Dim fso
Dim Ts
Dim emessage1 As String
Set fso = CreateObject("Scripting.FileSystemObject")
Set Ts = fso.OpenTextFile("myfile.htm", 1)
emessage1 = Ts.ReadAll
The value read in message1 is 'test' ie the system adds additional
characters in front of word test. What is the problem and how can I get rid
of these additional characters?
Thanks
Regards