some numbers don't show up find 3

looking for V_OUT sheet

for example im looking for 467

appear 7 times in each column
65434677665v1--1-___121.xlsm
ADRIANA PACCOUNTING ASSISTANTAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rgonzo1971Commented:
Hi,

pls try
Sub Find3V()

Dim strFind As String
Dim lngRow As Long
Dim lngCol As Long
Dim intTot As Integer
Dim intCount As Integer
Dim intSets As Integer

Sheets("V_OUT").Range("A6").EntireRow.Clear

strFind = InputBox("Enter 3-digit number to find")
If Len(strFind) <> 3 Then
    MsgBox "You must enter 3 numbers"
    Exit Sub
End If

For lngCol = 3 To ActiveSheet.UsedRange.Columns.Count Step 2
    For lngRow = 14 To 200
        If Cells(lngRow, lngCol) <> Empty Then
            If Cells(lngRow, lngCol) Like "*" & Left(strFind, 1) & "*" & Mid(strFind, 2, 1) & "*" & Right(strFind, 1) & "*" Then
                intCount = intCount + 1
                intTot = intTot + 1
            End If
        End If
    Next
    If intCount > 0 Then
        Cells(6, lngCol) = intCount
        Cells(6, lngCol).Interior.Color = 13561798
        intSets = intSets + 1
    End If
    intCount = 0
Next
Range("A4") = strFind
Range("A6") = intSets
Range("B1") = ColumnsWithData
Range("B6") = intTot
Range(Cells(6, "A"), Cells(6, ActiveSheet.UsedRange.Columns.Count)).HorizontalAlignment = xlCenter
'UpdateHistory
End Sub

Open in new window

Corrected

Regards
65434677665v2.xlsm
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Martin LissOlder than dirtCommented:
Try this.
29079145.xlsm
1
Martin LissOlder than dirtCommented:
Rgonzo beat me by 8 minutes so give full credit to him especially since I used the clever method he used to fix the 'Find 2' in your previous thread.
1
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Great Job  Great Expert !
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Applications

From novice to tech pro — start learning today.