But new issue is generate when I debug this code mention below is the error.
Can you please help me to solve this issue I engaged in this issue so many days so please help me.
Microsoft Dynamics NAV
---------------------------
Break On Error Message:
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__958aff79760f43fda6c8ec7a3b1d3cee.tmp.xlsx' is denied.
---------------------------
OK
---------------------------
Yes This is helpful
Hi, hope the following helps.
Thanks.
ZHU
Can you share your code?
You are missing to create the .net variable correctly in our code.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156