web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Excel error

(0) ShareShare
ReportReport
Posted on by

I have a report which populates data and exports it to excel.

Report contains the following line:

Sheet.Range(excelString[i]+FORMAT(excLine+COUNT+3)).Formula:='=COUNTIF('+excelString[k]+FORMAT(excLine)+':AR'+FORMAT(excLine)+';"'+CA.Code+'")*8'

excelString[i],excelString[k] has a value of a colum  for example D, and the rest are numbers.

This is worrking on some excels. For example i have a two machines with office 2013 Proffesional Plus.

On the first excel is populated, on the second it gives the error attached.

The only difference is regiona settings: Language.

6116.err.png

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Alexander Ermakov Profile Picture
    28,096 on at

    Can it be the case that the delimiter is also different in the regional settings?

  • Community Member Profile Picture
    on at

    NAV TABLE EXPORT or PRINT TO EXCEL

    Go to Department>Administration>IT Administration>General>Manage style Sheet

    Choose Style sheets Common to all > Action>Import>Style Sheet

    In search option put .xsl and enter then find then select

    Navision From To Excel

    In send To Program option

    Create EXCEL.EXE     as executable and Name as Microsoft EXCEL

  • Verified answer
    4BzSoftware Profile Picture
    6,073 on at

    Hi Nermina,

    Hope comment below code line of table 370 Excel Buffer help you:

    XlHelper.AutoFitColumnsInAllWorksheets(XlWrkBk);

    10_2D00_6_2D00_2017-3_2D00_54_2D00_52-PM.png

  • Verified answer
    Binesh Profile Picture
    7,885 on at

    Hello,

    Has the Office installation on the problem workstation been activated yet?

     I think some automation issues on your PC.

    Need to re-activate Office.  After re-activating, the issues resolved.

  • Community Member Profile Picture
    on at

    Yes, this was the solution. Thank you!

  • Suggested answer
    Binesh Profile Picture
    7,885 on at

    Hey Nermina,

    If your problem is fixed then Verify the answer so it can be helpful for others member also.

  • Shristi Profile Picture
    25 on at

    HI, Nermina Pzz verify which solution has worked for you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans