کسی نیست جواب سوال مارو بده؟؟

Sub worksheet_change(ByVal target As Range)
If Not Intersect(target, Me.Range("A:A,B:B,C:C,D:D,E:E,F:F")) Is Nothing _
Or Not Intersect(target, Me.Range("G:G,H:H,I:I,J:J,K:K,L:L,M:M,N:N")) Is Nothing Then
Application.EnableEvents = False
target.Offset(0, 1).Value = target.Value
Application.EnableEvents = True
End If
'============================='
If Not Intersect(target, Me.Range("S9")) Is Nothing Then
Application.EnableEvents = False
Range("A1") = target.Value
Application.EnableEvents = True
End If
End Sub
sub worksheet_change(byval target as range)
if not intersect(target, me.range("a:a,b:b,c:c,d:d,e:e,f:f")) is nothing _
or not intersect(target, me.range("g:g,h:h,i:i,j:j,k:k,l:l,m:m,n:n")) is nothing then
application.enableevents = false
target.offset(0, 1).value = target.value
application.enableevents = true
end if
'============================='
if not intersect(target, me.range("s9")) is nothing then
application.enableevents = false
range("a1") = target.value
application.enableevents = true
end if
end sub
کامنت