Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : CvzLk1zTvwNQuThh6FsJx4
Microsoft Dynamics NAV (Archived)

Excel error

Like (0) ShareShare
ReportReport
Posted on 5 Oct 2017 23:27:31 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

  • Shristi Profile Picture
    25 on 23 Jan 2021 at 20:40:21
    RE: Excel error

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

  • Suggested answer
    Binesh Profile Picture
    7,885 on 09 Oct 2017 at 04:51:03
    RE: Excel error

    Hey Nermina,

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

  • Community Member Profile Picture
    on 07 Oct 2017 at 19:56:17
    RE: Excel error

    Yes, this was the solution. Thank you!

  • Verified answer
    Binesh Profile Picture
    7,885 on 06 Oct 2017 at 09:04:59
    RE: Excel error

    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.

  • Verified answer
    4BzSoftware Profile Picture
    6,071 on 06 Oct 2017 at 08:57:40
    RE: Excel error

    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

  • Community Member Profile Picture
    on 06 Oct 2017 at 06:08:48
    RE: Excel error

    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
    Alexander Ermakov Profile Picture
    28,094 on 06 Oct 2017 at 00:08:47
    RE: Excel error

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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,442 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,575 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading started