def findColumn()

in tooling/export-alerts/export-alerts.py [0:0]


def findColumn(ws, colName, headerRow=1):
  # Find the column for the property
  col = 0
  for cell in ws[1]:
    if cell.value.lower() == colName.lower():
      col = cell.column
      break

  return col