اذهب الي المحتوي
أوفيسنا
بحث مخصص من جوجل فى أوفيسنا
Custom Search

ممكن التعديل على هذا الكود


abuhanen10

الردود الموصى بها

اخوانى الاعزاء

كود بحث بمعيار واحد داخل كل الشيت وليس صفحه واحه

اريد التعديل ليكون بمعيارين او ثلاثه

اولا الكود

Function VLookupInRanges(v As Variant, c As Long, ParamArray rng() As Variant) As Variant
    Dim r   As Variant
    Dim i   As Long
    
    r = CVErr(xlErrRef)
    
    For i = LBound(rng) To UBound(rng)
        r = Application.VLookup(v, rng(i), c, False)
        If Not IsError(r) Then
            Exit For
        End If
    Next i
    
    VLookupInRanges = r
End Function

ثانيا معادله البحث =VLookupInRanges($L$4,10,'1'!$C$11:$W$150,'2'!$C$11:$W$150,'3'!$C$11:$W$150,5)

ثالثا ملف التطبيق

البحث بشروط.rar

رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information