Adding contract number

Hi all,

I have to print contract numbers details into the Excel Sheet. The excel sheet name is Ageing Report . x ls supose i have to print contract details 10000 to 100003 means the excel name showing Ageing Report .xls(10000 to 10003). how to save name when save the excel. can any one help me out.

Thanking you,