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

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

قام بنشر

الاخ رجب

لقد وجدت ايضا هذا الكود

Sub Macro1()

Application.ScreenUpdating = False

On Error Resume Next

If Range("B2") = "" Or Range("C2") = "" Or Range("E2") = "" Or Range("F2") = "" = 1 Then

MsgBox " برجاء اكمال البيانات "

Else

Dim lastrow As Integer

lastrow = Range("b10000").End(xlUp).Row + 1

Range("b2:f2").Copy

Cells(lastrow, 2).PasteSpecial Paste:=xlPasteValues

Range("B2:F2").ClearContents

Application.CutCopyMode = False

MsgBox " تم ترحيل البيانات "

End If

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