Unable to write single row in collection

unable to write single row in collection

Can you give more details. In which collection you are trying to add?

Hi bro, i have created data table like only headers, i trying to write that into excel sheet using write rang with add headers also but i can’t, why?