Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry for bothering you i'm new in VBA
I am trying to use the MATCH function in VBA to search for a particular hour in a range containing hours and return the matching column number that give me Error N°13 so thank you for your help Public Sub test() With Sheets("F. Regulation") Dim dt As Double dt = Sheets("Standard d'engagement").Cells(3, 4) A = Application.Match(CLng(dt), Range("B2:EP2"), 0) MsgBox (A) End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
application.match and value problem | Excel Discussion (Misc queries) | |||
Application.Match problem | Excel Programming | |||
Application.WorksheetFunction.Match problem | Excel Worksheet Functions | |||
Application.Match problem | Excel Programming | |||
Application.Match problem | Excel Programming |