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

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

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

تفضل مع ان ملفك يفتقد الى البيانات

Private Sub ListBox1_Click()
TEXT1.Value = ListBox1.ListIndex + 2
SpinButton1.Value = ListBox1.ListIndex
End Sub

Private Sub SpinButton1_Change()

    If SpinButton1.Value = 0 Then SpinButton1.Value = ListBox1.ListCount - ListBox1.ListCount + 1
    
    ListBox1.ListIndex = ListBox1.ListCount - SpinButton1.Value
   TEXT1.Value = ListBox1.ListIndex + 2
    

End Sub
 

Private Sub UserForm_Initialize()
 
    
    SpinButton1.Max = ListBox1.ListCount
    SpinButton1.Min = 0
    
    SpinButton1.Value = 10
    
End Sub

 

TEST.xlsm

  • Like 1
  • Thanks 1

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