Oops, you're right. It should be:
Yap, vbnewline followed by ")" indicates that there is more data in the next page, and if there is no more data, I only got the data without vbnewline + ")", that's why I wanna make it loop until no more vbnewline + ")" at the end of data.
If Instr(1, textOut.text, vbNewLine & ")") then
Hm, just a wild guess, is there any code to save the next instruction address so it's possible to jump to that address when the DataArrival Event triggered.
Private Sub con_DataArrival(ByVal bytesTotal As Long)
Dim reply_out as String
If con.State = sckConnected Then
If con.Tag = "PrintOutput" then 'Print Output Event Indicator
'That code put here, if possible, to jump to that address