اذهب الي المحتوي
أوفيسنا

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

قام بنشر

جرب هذا الماكرو

Sub My_Filter()
Range("g8").Resize(50, 3).ClearContents
Set myrg = Range("a2", Cells(Cells(Rows.Count, 1).End(3).Row, Cells(2, Columns.Count).End(1).Column))
For i = 1 To Cells(Rows.Count, 1).End(3).Row
     If Month(myrg(i, 1).Offset(0, 2)) = Month(Range("i5")) And _
     myrg(i, 1).Offset(0, 1) = myrg(i, 1).Offset(0, 1) Then _
     myrg(i, 1).Resize(1, 3).Copy Cells(p + 8, "g"): p = p + 1
     Application.CutCopyMode = False
  Next
End Sub

 

  • Like 1

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