How to select last item in a spesific column in Excel

Hi everyone, i have a simple and nice question.

I want to select the value in the last cell of the column titled Price in excel.

Is there anyone know how to do this?

@mazlumkacar After reading the excel and store the output in datatable (ex. dt is datatable variable)
dt.Rows(dt.Rows.Count-1).Item(“ColumnName”).ToString

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.