Get cell name by value

Hey. I have the value of the cell - “Nam”. How can I find out the cell name by this value (A1, B2, C1) ??

Hi @Wizzy_Ego,

Welcome to Uipath Forum,

May i know the value of cell “Nam” Under A column or B Column?

Thanks ,

Hi @Wizzy_Ego

Welcome to the community!!!

You can loop through the columns and rows to find out in which column it is in.

Int ColumnCount =  DT.Columns.Count
Int loopCount = 0
While loopCount < ColumnCount
    For each row in DT
        If row(loopCount).ToString.Equals("Nam")
            -- assign the alphabet letter based on the value in column count and break the loop