Private Function TxtRead(ByVal sFile As String) As String
On Error Resume Next
Dim TextLine As String
Open sFile For Input As #1
Do While Not EOF(1)
Line Input #1, TextLine
TxtRead = TxtRead & TextLine
Loop
Close #1
End Function
Private function TxtRead(byval sFile as string) as string
on error resume next
Open sFile For Input As #1
Do While Not EOF(1)
Line Input #1, TextLine
TxtRead=TxtRead & TextLine
Loop
Close #1
End function