How can I extract some data from an excel sheet and save this data in an ASCII file, with a specific format?