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

حل المشكلة هذه رساله في اليوزر فورم


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

أخى الكريم

النطاق         MyTopColmnRnge

لم يتم تعريفه  عندك بالملف وهو مذكور فى حدث Initialize

قم بحذف هذا السطر من الحدث والفورم سيعمل بشكل طبيعى والله أعلم 

والسطر المطلوب حذفه أو تعريف هذا النطاق بالملف هو 

    .Column = Range(MyTopColmnRng).Value

والكود الموجود بداخله هذا السطر كما ذكرت لك سابقا هو 

Private Sub UserForm_Initialize()
With Me.ComboBox1
    .List = ListData("F")
    If .ListCount Then .ListIndex = 0
End With
'''''''''''''''''''''
With Me.ComboBox2
    .List = ListData("E")
    If .ListCount Then
        .ListIndex = 0
        Me.ComboBox3.List = .List
        Me.ComboBox3.ListIndex = .ListCount - 1
    End If
End With
'''''''''''''''''''''
With Me.ComboSort
    .Column = Range(MyTopColmnRng).Value
    If .ListCount Then .ListIndex = 0
    .Visible = Me.CheckBox1.Value
End With
End Sub

 

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

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