You just need to parse out the data using Instr & Mid$ string functions.
VB Code:
  1. Dim iStart as integer
  2. dim iEnd as integer
  3. dim sData as string
  4. dim iData() as integer
  5. istart = instr(1, Text1.text, "==>print freqvalue")
  6. if istart > 0 then 'found
  7.     iend = instr(istart + 1, Text1.text, "==>")
  8.     sdata = mid$(Text1.text, istart, iend - istart)
  9.     idata = split(sdata, ",")
  10.     'Loop though the array of integers adding to excel
  11.     '...
  12.     '...
  13. else
  14.     msgbox "data not found"
  15. endif