第1个回答 2009-04-21
Private Sub Form_Load()
Dim str1 As String, str2 As String
Open "c:\1.txt" For Input As #1
Do While (Not EOF(1))
Line Input #1, str1
str2 = str2 & Replace(str1, " ", "-") & "+16" & vbCrLf
Loop
Close
Open "c:\2.txt" For Input As #1
Print #1, str2
Close
End Sub本回答被提问者采纳