Hi Ondrej:
You have to import all your data into worksheet first and then split it. For example, run the following script after imported. (Or you can also put the script in the Advance tab of Import Wizard)
range s1 = %(wks.name$)!col(a); // Get source column
range s2 = %(wks.name$)!col(b);
jj=1;
for(ii=1; ii<=$(wks.maxrows); ii++)
{
// If found "X", new a worksheet to store data
if(s1[ii]$ == "X")
{
newsheet;
col(a)[L]$ = s1[ii]$; // Set column labels
col(b)[L]$ = s2[ii]$;
jj=1;
ii++;
};
range n1 = col(a);
range n2 = col(b);
if(s1[ii] != NULL )
{
n1[jj] = s1[ii];
n2[jj] = s2[ii];
jj++;
}
}
Hope this helps.
Larry
OriginLab Technical Services