Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Excel 2016

(0) ShareShare
ReportReport
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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans