Created a SAP script to take out report.

Before it goes to work in SAP it does copy of column 1 in specific sheet.
HTML Code: 
This works fine but if layout changes then the data it is supposed to copy might not be in column 1. Therefore I would like it to search for the name of the column (Purch.Doc.) and then copy it.
I tried below line and It’s not working (I’m new at this…). How can I make it work with simplest code possible?

HTML Code: 





HTML Code: