Hi, I have a text that include some number in latest line and I would like to extract this numbers to a separate file. Can anyone help me in this regard. A sample file of mu results is attached.
I need only the numbers of last line for example in following set only "7.457" "0452" and "2.711" are needed. in a real study the number of the data sets are more than 1000 so copy past is very tedious.
Just open it in Excel, and delete the data you don't need. In the example you gave, delete the rows of data you don't need. The data you want is in columns H, I, and J, so delete the columns A through G. you'll be left with the three numbers that you want.
Alternatively, learn Visual Basic for Applications (VBA), and write a program to remove the data you don't need, or copy the desired data to a new sheet, or read the original text file, parse out parse the data you do want, and save it in whatever format works for you.