XLA Routines: EE_PositionInRange

Function EE_PositionInRange(Header As String, rng As Range) As Long 'http://excelexperts.com/xla-routines-eePositionInRange for updates on this function ' Takes a heading name, range ' returns the position in the range as long ' returns 0 if not found On Error Resume Next EE_PositionInRange = Application.WorksheetFunction.Match(Header, rng, 0) If Err.Number <> 0 Then EE_PositionInRange = 0 End If End Function
»
- Nick's blog
- Login or register to post comments
- 7384 reads
Recent comments
6 years 9 weeks ago
6 years 47 weeks ago
7 years 7 weeks ago
7 years 9 weeks ago
7 years 11 weeks ago
7 years 16 weeks ago
7 years 24 weeks ago
7 years 25 weeks ago
7 years 25 weeks ago
7 years 25 weeks ago