How to send the submitted data to excel as it comes in?