dim s as string
s=ts.readall
dim a
a=split(s,vbcrlf)
dim ss as string
ss=a(0) '第1行
ss=a(2) '第3行
ss=a(4) '第5行
大致就这样
FSO模型中的TextStream对象: Dim FSO As New FileSystemObject Dim ts As TextStream
原文链接:https://www.f2er.com/vb/260964.html