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

الكتابه في العمود C يظهر التاريخ في العمود A


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

السلام عليكم  في هذا المصنف المرفق كود عند الكتابة في العمود B يظهر التاريخ في العمود A 

ولكن الذي اريدة هو الكتابه في العمود C ويظهر التاريخ في العمود A وشكرا

التاريخ.rar

رابط هذا التعليق
شارك

استبدل الماكرو بهذا

Private Sub Worksheet_change(ByVal Target As Range)
If Target.Column = 3 And IsEmpty(Cells(Target.Row, 1)) _
                And Target.Row > 1 Then

    Application.EnableEvents = False
    Cells(Target.Row, 1) = Format(Date, "[$-10A0000]ddd dd mmmm yyyy;@")
End If
Range("A:A").EntireColumn.AutoFit
    Application.EnableEvents = True
End Sub

 

  • Like 1
رابط هذا التعليق
شارك

شكرا بس اريد التاريخ نفس طريقه هذا 20/9/2016 فقط لا اسم ولا شهر 

شكرا جزيلا عند تغيير في لكود (Date, " yyyy/mm/dd") طلع تمام شكرا جزيلا بارك الله فيك

تم تعديل بواسطه أبوحازم
رابط هذا التعليق
شارك

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