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

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

  • أفضل إجابة
قام بنشر

عليكم السلام

Sub CaloutDownArrow1_Click()

'On Error Resume Next

'Dim R As Integer
Dim M As Integer
Dim ws As Worksheet: Set ws = Sheets("Payment Requests")
Dim sh As Worksheet: Set sh = Sheets("Cash Position")
Dim cll As Range
 'R = ws.Cells(5000, 1)
 M = 1
For Each cll In ws.Range("J3:J1000")
If ws.Range("P1") = cll.Value Then
    sh.Cells(M, 13).Value = cll.Offset(0, -8)
    sh.Cells(M, 10).Value = cll.Offset(0, -6)
    sh.Cells(M, 2).Value = cll.Offset(0, -5)
    sh.Cells(M, 1).Value = cll.Offset(0, 0)
    sh.Cells(M, 5).Value = cll.Offset(0, 1)
    sh.Cells(M, 7).Value = cll.Offset(0, 2)
    sh.Cells(M, 3).Value = cll.Offset(0, 3)
    sh.Cells(M, 15).Value = cll.Offset(0, 5)
  '  On Error GoTo 0
  M = M + 1
End If

Next cll

End Sub

 

  • Like 3

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