Hi rajaputra,

i've tried the same code for writing into excel sheet. at first it worked. But, now it is not working. it is giving this error message.

object required: 'Excel.ActiveSheet'

...