Export to Excel Table with dynamic columns 

Export to Excel Table with dynamic columns 

  
Hello,
Im trying to export to excel the following structure:

Struct
{
               var_a,
               var_b,
               var_c,
               recordlist_x,
}

This structure is used to create a table with dynamic columns (with variable colum count). 
I would like to export to excel and get the following output:

var_a, var_b, var_c, recordlist_x.a, recordlist_x.b, recordlist_x.c, recordlist_x.d, ...

Is this possible? Does anyone tryed to do something like this before?
Thanks in advance for anykind of help with my problem.

Best regards
Rodrigo Henriques