I’m trying to write cell to a specific column where the header matches a specific value. How do I find out the alphabet of the column to assign to a variable if the header is subjected to shift?
I’m currently using Excel Application Scope and its’ relevant activities. Can’t use Use Excel File and its’ relevant activities as they are not compatible and switching out the activities would mean change roughly 70% of the script.
Thanks for the prompt response. Would like to ask about the solution you provided which has minor changes necessary if the column index is double character. As there’s uncertainty where the header could be, I’m trying to best figure out how to get the correct return regardless if the header in in which setting(single char index or double char index). Would you be able to advise?
Basically if u r uncertain about the position read it as a datatable and parse through or loop through certain key values and get the corresponding column position
With that u can formulate the column name and index position