Import excel data to ax

Hi All,

I want to Import data from excel to ax journal lines.

Can anyone give me a sample code so that i can proceed further.

I have tried one way of importing, but it is not working out well.

please anyone share your code, i am keeping my excal template as “General” for all my fields in it.

How should i save my excel template in “save as” - option.

its reallu urgent. please help.

Hi,

This was discussed many times and most of the post contains sample code. You would do well to search for those here.

Hi Harish,

Thanks for your reply. After searching and applying all the codes, i get an issue while importing ,

  1. Error in "Addcomment " COM object.

  2. The number of arguments provided is different from the arguments accepted.

  3. Method save of COM object in class Excel.Application returned error code…

Please can any one help me to solve this issue.