I´ll try (sorry, my english is not the best). I have multiple txt files and each file in the middle of other text this kind information
Input rate : 1402096 bps (873 pps)
Output rate : 4659616 bps (1088 pps)
And I only need the data which is preceeded by "Input rate:" and "output rate:". This information for example 1402096 3434344 343434 3434434 etc (estracted from the txt files) send it to a unique file (txt or excel). If it´s possible, one column with the numbers estracted from "Input rate :" field and another column for the numbers estracted from "Output rate :" field. Like this
Example of origin data txt file for macro
MSERVICE@ADFED> show interfaces fe7-8-8
Input rate : 1402096 bps (873 pps)
Output rate : 4659616 bps (1088 pps)
New file created after macro
Input output
1402096 562634
4659616 742560
1467047 704692
7075471 465964
Thanks, your help is very appreciated