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

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

قام بنشر

السلام عليكم

بعد اذن الاستاذ الحبيب طارق

اضفت شرط للكود في حال الخلية فارغة يعتمد القيمة "="


Sub Bouton1_QuandClic()

    Sheets("All2").Select

    Range("s1:bw2800").ClearContents

    Range("G3").Select

    With Feuil1

    If IsEmpty(.[B2]) Then .[B2] = "="

    Sheets("bd").Range("A1:be2800").AdvancedFilter Action:=xlFilterCopy, _

	    CriteriaRange:=Sheets("con").Range("a1:be2"), CopyToRange:=Range("s1:bw2800"), Unique:=False

    .[B2] = Empty

    End With

End Sub

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.

×
×
  • اضف...

Important Information