What is the best way to take the contents of txt file and place it in a string?
The way I'm trying to do it is not working.
I think the error is in using Print. I don't think that is the right command to use there. Please help.Code:On Error Resume Next Dim file As String Dim dirHolder As String file = App.Path & "\dir.rs" Open file For Input As #1 Print #1, dirHolder Close #1
It is appreciated.




Reply With Quote