Skip to main content
Solved

Excel corrupt file resulting from using an Excel .xlsm template

  • January 31, 2018
  • 2 replies
  • 67 views

peteralstorp
Contributor
Forum|alt.badge.img+7

Here's a tricky one. We're using an excel marcro-enabled (xlsm) file as a template and in the script we're populating it with various info from textfiles and more. When we try to open the resulting Excel file with Excel (2016) the file doesn't open. We're getting an error message saying there's something wrong with the file and would you like to try to fix the errors? The offered fix isn't good enough.

I'm thinking this might have to do with the xlsm-format or maybe it's a language issue. We've had help from SAFE resaving the file and then this would sometimes remedy the situation.

Anyways, this is just to check if anybody has encountered the same problem and have any ideas as to what in the excel template can cause this error. We have macros in the file and from what I can gather no other strange things.

Thankful for any suggestions.

Best answer by andreaatsafe

Hi @peteralstorp,

I'm pleased to let you know that a recent Excel Library update to FME has resolved this issue. You can find the latest FME 2018 beta here

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

andreaatsafe
Safer
Forum|alt.badge.img+15
  • Safer
  • Best Answer
  • February 19, 2018

Hi @peteralstorp,

I'm pleased to let you know that a recent Excel Library update to FME has resolved this issue. You can find the latest FME 2018 beta here


peteralstorp
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • February 20, 2018

Thanks, Andrea! I'm sure this works. Will try it as soon as our environment is updated. Thanks for all your help.