Extract File excel to text file

hi All,
my problems is…i wanna create a button extract file. when user click that button, user can choice the excel file then the file extract in the text file?