How many cells are you trying to write. Its possible you have exceeded the maximum number of cells available in Excel.
What version of Excel are you using?
It may also be possible you are experiencing a memory leak. Can you confirm this?
Mark
NI App Software R&D