That’s why you should give us more details. So, you want to write to an excel file? Please, read this and see if it helps