Thanks, that seems to work much better.
So I need to close the workbook after I write to it in order to save the changes? The write dosen't work even with the
fixed unless I close the workbook. Is there a way to continue editing the workbook (allow for multiple URLs to be used) after the write?