Read only fields in Excel Export


I am currently looking to customize my excel export functionality,

is it possible to have some columns in excel sheet to be read only, when it is exported ?

I am passing the treegrid to the method as an input, but i don't want some columns like "ID or Name" not to be modified.

Method i am using is :  aras.export2Office(exportXMLDOM.xml, 'export2Excel');