Hi, all excel vba gurus.
I need some vba help here. I am trying to write a VBA to find 2 particular strings (there are multiple of them) in a log file and return its output 1 line below the matching lines in 2 separate columns (header of the column will the string name).
The example is as following:
Logfile
XX_tname_VALUE
0_strg_5.17450|3.59816|3.69636|2.52594|3.99766|8.33407|0.52536
XX_tname_K_V
0_strg_0|36|3|4|6|7|3
Expected Output
XX_tname_VALUE XX_tname_K_V
0_strg_5.17450|3.59816|3.69636|2.52594|3.99766|8.33407|0.52536 0_strg_0|36|3|4|6|7|3
There maybe more than 1 occurrence of the string "XX_tname_VALUE" & "XX_tname_K_V" in the log file as it can contains a lot of data. So the script should be able to handle it and output the multiple result of the searched string as shown in the above example.
Appreciate for your kind help.
Thank you.
Bookmarks