Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Export To excel SAVE File

(1) ShareShare
ReportReport
Posted on by 2,382

I have written as code to export data from a page .Data is being exported successfully but I want to save the excel file to a location automatically.RIght now I am using excel function 


ExcelBuf.CreateBookAndOpenExcel(Text011,Text012,COMPANYNAME,USERID);

It creates excel and open it . I want to save it to specifield location

*This post is locked for comments

  • AjayPandey Profile Picture
    AjayPandey 133 on at
    RE: Export To excel SAVE File

    I follow step by step but not generate report mention below are the issue.

    Can you please help me out in this issue.

    Microsoft Dynamics NAV

    ---------------------------

    A call to Microsoft.Dynamics.Nav.OpenXml.Spreadsheet.WorkbookWriter.Create failed with this message: Access to the path 'C:\ProgramData\Microsoft\Microsoft Dynamics NAV\90\Server\MicrosoftDynamicsNavServer$DynamicsNAV90\users\default\DESKTOP-UNIKUL1\RAKSHITH UNIKUL\TEMP\__TEMP__2964166186264430ae9bd5c3dcdcc553.tmp.xlsx' is denied.

    ---------------------------

    OK

    ---------------------------

  • Neeland Profile Picture
    Neeland 20 on at
    RE: Export To excel SAVE File

    Thanks! That works!

  • Rocky99 Profile Picture
    Rocky99 5 on at
    RE: Export To excel SAVE File

    Hi Mr.Rajsekar,

    The above link is not working, can you please help me out

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Export To excel SAVE File

    i have follow same process but system didn't save file as SMTP setup configured 

  • Verified answer
    Rajasekhar@MS Profile Picture
    Rajasekhar@MS 5,567 on at
    RE: Export To excel SAVE File

    Hi

    Refer the below link how to save excel to specified location

    saurav-nav.blogspot.in/.../nav-2013-nav-2013-r2-save-export-to.html

    Best Regards

    Rajasekhar.Y

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! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans