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

نقل قيمة الي التكس بوكس


ahed5567
إذهب إلى أفضل إجابة Solved by Ali Mohamed Ali,

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

  • أفضل إجابة

تفضل يمكنك استخدام هذا الكود

Private Sub CommandButton2_Click()
Dim str As String
    Dim i As Long
    For i = 0 To ListBox1.ListCount - 1
        If ListBox1.Selected(i) Then
            If str <> vbNullString Then str = str & ", "
            str = str & ListBox1.List(i)
        End If
    Next
    TextBox2.Text = TextBox2.Text & " " & str
End Sub

 

ليست بوكس.xlsm

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

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