I have around 20 columns in excel. I have to check the values in each cell in first row to match certain strings. For example A1 = “first” , B1 = “second” etc.. If the values don’t match my desired fixed string values, the messagebox should throw error with the column name and value. Can someone please help?
I am trying to match the row in bold with the values in would enter (highlighted in red, i dont have these in excel). If they dont match, i want the column name to pop up in message box.