Nav 3.7 - Export to Excel Error - Analysis by Dimension

jag.911@hotmail.comjag.911@hotmail.com Member Posts: 9
My customer is receiving the following error when they use the Export to Excel function in Analysis by Dimension:

"This message is for C/AL Programmers:

An exception was raised in method CreatePivotTable. The OLE control or Automation server has returned error (HRESULT) - 2147352567.
The component did not provide the exception description."

This error occurs when the date range is set between January 1/07 to July 7/07. No errors are produced if the date range set is shorter ie Jan 1/07 to May 31/07.

If anyone has any suggestions on a possible solution please let me know.

Thanks

Comments

  • ara3nara3n Member Posts: 9,256
    excel can have only 65K records. How many records does it create for jan through may?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • modricmodric Member Posts: 42
    Your data in this period may contain something Excel`s autoformat function doesn`t like, for example, if there happens to be a string like "===bla bla bla" or so.

    Second, some weird errors may raise, if Report/Codeunit is compiled with older versions of Automation libraries than Excel itself on the PC in question. Error message doesn`t necessarily state the real cause of problem, so it`s difficult to find out the reason.
    Modris Ivans
    MCP, Dynamics NAV - Application
Sign In or Register to comment.