07-27-2010, 11:13 AM
Hi,
I used array for Header but while writing it into the excel the code given by you is :
*** Writing Header***'
As i declared header as array then what changes should i do in the above code as i am getting confuse between sHeader & sHeaderList.
Please explain me so that i can proceed further.
Thanks in advance...................
Regards,
Anu
I used array for Header but while writing it into the excel the code given by you is :
*** Writing Header***'
Code:
sHeaderList = Split(sHeader,",")
i = 0
For Each sHeader in sHeaderList
i = i + 1
ExcelSheet.ActiveSheet.Cells(1, i).Value = sHeader
Next
As i declared header as array then what changes should i do in the above code as i am getting confuse between sHeader & sHeaderList.
Please explain me so that i can proceed further.
Thanks in advance...................
Regards,
Anu