Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Excel Reader Corrupts the Excel File

1 REPLY 1
Reply
Message 1 of 2
Anonymous
367 Views, 1 Reply

Excel Reader Corrupts the Excel File

 

I'm successfully reading data from an Excel file using the Excel Reader.  However, as soon as the read is done, the file Excel seems to be corrupted and I can no longer open it (programatically or by hand).

 

Any ideas what is going on?

 

The parent ExcelDoc:

 

Rule okToOverwrite? As Boolean = False
Rule OutputDocPath As String = ProjectLocation() + "\DocumentComponents\Specifications\"
Rule OutputDocument As String = TemplateDocPath + TemplateFileName
Rule OutputFileName As String = "CP UI Specification.xlsx"
Rule SaveAsFormat As String = "Excel"
Rule ShowReport? As Boolean = False
Rule TemplateDocPath As String = ProjectLocation() + "\DocumentComponents\Specifications\"
Rule templateDocument As String = TemplateDocPath + TemplateFileName
Rule TemplateFileName As String = "CP UI Specification.xlsx"

 

The child ExcelDataReader:

 

Parameter Rule Row As Integer = 1
Rule ReadRange As String = "A" + stringValue(Row) + ":I" + stringValue(Row)
Rule Sheet As String = "Mapping"
Rule Range = ReadRange
Rule DependentParts As List = {}

 

 

1 REPLY 1
Message 2 of 2
JackGregory
in reply to: Anonymous

From the information given, we don't know what is going on.  Can you submit a defect with a replicable case?

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report