Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Excel 2016

Posted on by Microsoft Employee

Adding  a new worksheet tab for excel export.  Previous versions used Worksheets.Add  With Excel 2016 in NAV2017  this fails

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Excel 2016

    the question was how to  add a new tab to tab to an existing worksheet

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Excel 2016

    that worked in 2009 R2 with excel2013 but does not work in NAV2017 with excel2016

  • 4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: Excel 2016

    Hi Marysimmons,

    Excel Buffer table (ID 370) is a good place to study how system works with Excel.

    Take a look at WriteSheet function in the table, you will see how NAV adds new worksheet:

    3_2D00_30_2D00_2017-4_2D00_07_2D00_07-PM.png

  • Suggested answer
    Rajasekhar@MS Profile Picture
    Rajasekhar@MS 5,567 on at
    RE: Excel 2016

    Hi

    To create New Worksheet you can use like below.

    XlWrkShtWriter := XlWrkBkWriter.AddWorksheet(SheetName); where you can refer Excel buffer table for XlWrkShtWriter and XlWrkBkWriter variables. 

  • Maneesha Profile Picture
    Maneesha 5,889 on at

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans