0

So I have a method that is passing in a sheet name and column name and I am trying to get the cell index and number of rows in that column based on that column name. I am not sure where to start this is my method

public static int GetColumnIndex(Excel.Worksheet worksheet, string columnName)
{

}
AGB
  • 2,230
  • 1
  • 14
  • 21
MadM
  • 25
  • 5
  • Is column name defined in the first row of the column ? – Micah Armantrout Apr 21 '16 at 18:42
  • 1
    See [here](http://stackoverflow.com/questions/2333202/how-do-i-get-an-excel-range-using-row-and-column-numbers-in-vsto-c) and [here](http://stackoverflow.com/questions/5411355/how-do-i-get-an-entire-column-in-used-range) – Quantic Apr 21 '16 at 18:43
  • @Micah Armantrout yes it is lets say its Application ID – MadM Apr 21 '16 at 18:48

0 Answers0