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

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

قام بنشر

أخي الكريم حسين

جرب الكود التالي عله يكون المطلوب إن شاء الله

Sub Test()
    Dim Cel As Range
    
    If Not Intersect(ActiveCell, Range("A2:A100")) Is Nothing Then
        For Each Cel In Selection
            If IsEmpty(Cel) Then
                Cel.Value = Cel.Offset(, 1).Value
                Cel.Offset(, 1).ClearContents
                Cel.Offset(, 2).Value = Date
            End If
        Next Cel
    End If
End Sub

تقبل تحياتي

 

  • Like 1
  • Thanks 1

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