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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)
Answered

Export To excel SAVE File

(1) ShareShare
ReportReport
Posted on by 2,390

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

I have the same question (0)
  • Verified answer
    Rajasekhar@MS Profile Picture
    5,569 on at

    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

  • Community Member Profile Picture
    on at

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

  • Rocky99 Profile Picture
    5 on at

    Hi Mr.Rajsekar,

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

  • Neeland Profile Picture
    20 on at

    Thanks! That works!

  • AjayPandey Profile Picture
    133 on at

    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

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans