I am trying to use Excel Automation in Dynamics 2013 on Server. I created my code successfully but when I try to compile the code it giving following error.
"You cannot create an Automation object "xlApp" on Microsoft Dynamics NAV server. You must create it on client computer"
Can you Please provide me solution.
Thanks
0
Comments
Previously i wrote a code like :
CREATE(xlApp);
Now I changed my code with following
CREATE(xlApp,TRUE,TRUE);
http://msdn.microsoft.com/en-us/library ... 5(v=nav.70).aspx
[Ok :=] CREATE(Automation [,NewServer] [,OnClient])
onclient should be TRUE....