第1个回答 推荐于2016-11-17
i can do it for you
Private Sub Command1_Click()
Dim str(10000) As String
f$ = "c:\WWE.txt"
Open f For Input As #1
For i = 0 To 10000
If Not EOF(1) Then Input #1, str(i): MsgBox str(i) Else MsgBox i: Exit For
Next
Close
Dim a() As String
a = Split(str(1), "=")
a(1) = "UNDERTAKER"
str(1) = a(0) + "=" + a(1)
MsgBox str(1)
Open f For Output As #1
For j = 0 To i - 1: Print #1, """" + str(j): Next
Close #1
End Sub
Private Sub Form_Load()
Command1.Caption = "Modify Row 2"
End Sub本回答被提问者采纳