Skip to content

Instantly share code, notes, and snippets.

@Nirelko
Nirelko / .vba
Last active July 5, 2018 21:06
VBA code for finding an item
Sub FindMatchedValues()
Dim sheetName As String
Dim startIndex As Integer
Dim itemsAmount As Integer
Dim targetValue As Integer
Dim indicatorLetter As String
Dim valuesLetter As String
Dim values As Range
Dim matchedValuesLetter As String
Dim matchedValuesStartIndex As String