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

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

قام بنشر

Sub hamza()
Sheets(25).Activate
For Each f In Range("h2:h50")
If f <> "" Then
x = f.Value
Range(f.Offset(0, -7), f.Offset(0, 6)).Copy
lR = Sheets(x).Range("a" & Rows.Count).End(x1up).Row          هنا بيظهر نفس اللون اصفر هل في خطاء 
Sheets(x).Activate
Range("a" & lR + 1).Select
Selection.PasteSpecial x1pastevalues
End If
Next f
Sheets(25).Activate
Application.CutCopyMode = False
Range("a2:e50").ClearContents
Range("g2:k50").ClearContents
Range("m2:n50").ClearContents
End Sub
 

1.jpg

2.jpg

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