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

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

قام بنشر

هل ممكن استعمال المعادلات داخل اللست بوكس

k = 0
With Me.ListBox2
For i = 0 To .ListCount - 1
.AddItem
.List(k, 0) = WorksheetFunction.VLookup(Val(Me.ListBox1.List(i, 0)), Sheets("dalel").Range("b5:k200"), 9, 0)
.List(k, 1) = WorksheetFunction.VLookup(Val(Me.ListBox1.List(i, 1)), Sheets("dalel").Range("b5:k200"), 10, 0)
k = k + 1
Next
End With

 

  • 2 weeks later...
قام بنشر
k = 0
With Me.ListBox2
For i = 0 To .ListCount - 1
.AddItem
.List(k, 0) = Application.WorksheetFunction.VLookup(Val(Me.ListBox1.List(i, 0)), Sheets("dalel").Range("b5:k200"), 9, 0)
.List(k, 1) = Application.WorksheetFunction.VLookup(Val(Me.ListBox1.List(i, 1)), Sheets("dalel").Range("b5:k200"), 10, 0)
k = k + 1
Next
End With

 

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