I am asking because the Help files are not installed on this piece of #$%^computer they have me working on here. Otherwise, I would gladly use Excel's help... When I use:
Input (#1, Text)
Text contains the entire line (not just one character). Since I don't have the help files I am struggling with the syntax. TIA
Private Sub Command1_Click()
Dim InputData As String
Open "C:\Temp\Test.txt" For Input As #1
Do Until EOF(1)
InputData = Input(1, #1)
MsgBox InputData
Loop
Close #1
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.