Read and write blocks of data in excel