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

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

قام بنشر
Sub SEPARATION()
Application.ScreenUpdating = False
Dim ResSh As String
Sheets("ناجح").Range("A6:DN1000").ClearContents
Sheets("راسب").Range("A6:DN1000").ClearContents
ee = [DN1007].End(xlUp).Row
For i = 10 To Cells(1007, 118).End(xlUp).Row
ResSh = Trim(Cells(i, 118).Value)
AA = Sheets(ResSh).Cells(1000, 118).End(xlUp).Row + 1
On Error Resume Next
For ii = 1 To 118
Sheets(ResSh).Cells(AA, ii).Value = Cells(i, ii).Value
Next
Next
Application.ScreenUpdating = True
MsgBox "تم فصل الناجحين والراسبين بكشفين منفصلين بنجاح"
End Sub

For i = 10 To Cells(1007, 118).End(xlUp).Row
ResSh = Trim(Cells(i, 118).Value)
AA = Sheets(ResSh).Cells(1000, 118).End(xlUp).Row + 1
On Error Resume Next
For ii = 1 To 118
Sheets(ResSh).Cells(AA, ii).Value = Cells(i, ii).Value

شرح هذا الجزء

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