Excel Column Merging

I am new to Ax , i am generating excel file through code.my question how to format report, i want merge 5 columns of line for heading ,and in row 2 merge 3 columns how can i achieve this.plz help

Welcome to DUG!!!.

Kindly post your question to AX forum for better and fast response.

Moving the post to AX forum!!!