How to create excel sheets in Run time based on contract numbers.

Dear all,

In contract master there is 1000 contracts is there. Now i have to give input like 100 contracts for excel sheet based on the contracts the excel sheet should be created.

Now i give 100 contracts means the first excel sheet create 100 contracts so that it will create up to 1000 contracts.

so in this case it will create 10 excel sheets and one excel sheet it will printed 100 contracts(This process happens in runt time only).

can any one help me how to process this job through x++ coding.

Thanking you,

Madhu.