Weird Excel error

Fredrik M 246 Reputation points
2020-08-18T09:39:37.037+00:00

Hi,

I have a package inporting rates from an excel doc and it has been running for years, monthly. Now they have automated the process in creating the doc in someway. When I look at the old excel document and the new autogenerated one, I see absolutely no difference. Everything is the same, column, formats, significant numbers etc.

The weird thing is that it read only half of the columns and then everything after that is set to null.
18362-preview-null.jpg

But if I open the excel and just save it, don't have to edit anything in the document, it works just fine, all the column is imported as they should. I have run out of ideas how to fix this. Anyone have a tip on what I can do ..?

Microsoft 365 and Office Excel For business Windows
{count} votes

3 answers

Sort by: Most helpful
  1. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2020-08-19T08:20:31.217+00:00

    Did you mean when you try to import Excel file to somewhere? Lose data? What kind of Excel file format did you use? If you're using .xlsx, please re-save it as .xls and check the result.

    0 comments No comments

  2. MotoX80 36,291 Reputation points
    2020-08-19T10:30:31.493+00:00

    The key sentence is "Now they have automated the process in creating the doc in someway.". You need to talk to whoever "they" is and ask about the "someway" process. Forum user have no way of knowing what you and your organization is doing.

    If "they" are now using software like ExcelWriter, then I would suspect a bug in the process or in the software.


  3. Nobuko Ichimaru 316 Reputation points
    2020-10-10T11:00:39.957+00:00

    Hi! @Fredrik M
    It is suspected that it does not recognize the Excel column name.
    For example
    The column names in the previous file were read from the name list,
    and entered the column name of the new file directly.
    Are the settings and corrections made properly if when the name list is linked with INDIRECT?
    I don't know until I actually look at the file,
    Check for the existence of the previous Excel name list.
    I hope it will be a hint

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.