Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Excel Overwrite issues

$
0
0

Hello,

 

I am reading a specific worksheet in an Excel file and I apply some formulas to remove some newline feeds and I am overwriting the entire sheet with the updated content. Both my input and output files are the same. I have a few columns in my input file that have formulas defined. After the workflow executes successfully (no warnings/errors either), I am having issues opening the file. I get a message: We found a problem with  some content in <filename>. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes.

Looking into the error log, I see the following message.

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><logFileName>error185720_01.xml</logFileName><summary>Errors were detected in file 'C:\a.xslx</summary><removedRecords summary="Following is a list of removed records:"><removedRecord>Removed Records: Formula from /xl/calcChain.xml part (Calculation properties)</removedRecord></removedRecords></recoveryLog>

 

It appears that the formulas may be causing this issue. Has anybody been able to successfully overwrite the worksheet containing formulas and/or overwritten sheets in a .xlsx file with ranges specified? Any tips on resolving the issue?

 

Thanks!


Viewing all articles
Browse latest Browse all 4999

Trending Articles