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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Excel 2016

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Maneesha Profile Picture
    5,891 on at

    you can refer this ,

    msdn.microsoft.com/.../ff839847.aspx

    msdn.microsoft.com/.../ff838966.aspx

  • Suggested answer
    Rajasekhar@MS Profile Picture
    5,569 on at

    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. 

  • 4BzSoftware Profile Picture
    6,073 on at

    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

  • Community Member Profile Picture
    on at

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

  • Community Member Profile Picture
    on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans