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

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

قام بنشر
استبدل هذا الجزء 
Sheets("Programmation").Select
Range("A2:I1105").Select
Selection.ClearContents
Sheets("Enregistrement").Select

''''''''''''''''''''''''''''''''''''''
lr = Cells(Rows.Count, 1).End(xlUp).Row
For r = 8 To lr

If Cells(r, 8).Value = Empty Then GoTo 2
If Cells(r, 8).Value = "ok" Then
Range(Cells(r, 1), Cells(r, 9)).Copy
y = ThisWorkbook.Worksheets("Programmation").Cells(Rows.Count, 1).End(xlUp).Row + 1
ThisWorkbook.Worksheets("Programmation").Range("a" & y).PasteSpecial xlPasteValues

End If


بهذا الجزء
m = 7
Sheets("Programmation").Select
Range("A2:I1105").Select
Selection.ClearContents
Sheets("Enregistrement").Select

''''''''''''''''''''''''''''''''''''''
lr = Cells(Rows.Count, 1).End(xlUp).Row
For r = 8 To lr

If Cells(r, 8).Value = Empty Then GoTo 2
If Cells(r, 8).Value = "ok" Then
m = m + 1
Range(Cells(r, 1), Cells(r, 9)).Copy
ThisWorkbook.Worksheets("Programmation").Range("a" & m).PasteSpecial xlPasteValues

End If

 

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