export data to MS Excel

export data to MS Excel

is an easy way to add a function that would "save as" the spreadsheet after a selected group of cells were filled out and then clear the data out of the original excel file? currently i have to manually do this after my program is complete and would like to try and automate it. i'm worried that with multiple people running my program someone may forget to clear and its quite a long run time.