Import Chart of Accounts

How to import chart of accounts through Excel Addins only for a single company.

Open a new excel work sheet and go to Dynamics AX tab and click add data–>add table, now AOT tables window will open then select “MainAccount” and move right side.then click OK.Now work sheet will be created. what ever fields you want to fill data just drag the field name and put in excel Cell. then click “Fields” button then left side table bar will be hidden. Then click refresh and refresh all. Now what ever data already entered that will appear here. And now you enter new data and click on Publish -->“Publish all” Button. after few seconds Publish Status will come in another sheet. Now your data Successfully imported in AX System. go to AX and check your new data.

This is simple excel importing where the data will be shown in all companies. I want it to import data for a particular company.I want to see the data only for one company