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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to Skip Header Line in Data Import through Excel ?

(0) ShareShare
ReportReport
Posted on by 197

Hi,

I am new to AX, I want to Skip the header Line in Excel while Importing the Data into Table.

Can anyone please help me.

Regards,

Swetha

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    298,815 Super User 2025 Season 2 on at
    RE: How to Skip Header Line in Data Import through Excel ?

    Hi Swetha,

    If you use Data Import Export Framework (DIXF) for importing the Excel files, there is a setting for the header row to be skipped. What exactly are you working on? Developing custom scripts, using DIXF or something else?

  • Suggested answer
    Rustem Galiamov Profile Picture
    8,072 on at
    RE: How to Skip Header Line in Data Import through Excel ?

    Hi!

    You should start importing from line you need. If header line is line no. 1 - skip it.

    Like this (for example):

    ComExcelDocument_RU    document;

    int                                  i;

    str                                  strValue;

    document = new ComExcelDocument_RU();

    document.open(filePath, false);

    for (i = 2; i; i++)

    {

       strValue    = document.getValueStr('', document.cellAddress('', 'A' + int2str(i)));

       if (! strValue)

    break;

    }

    document.closeDocument();

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans