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

تعديل كود عرض في يوزر فورم


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

السلام عليكم ورحمة الله

برجاء الافادة في تعديل هذا الكود لعرض عدد اعمده اكثر من الموجود بالكود حيث يتم عرض من عمود I حتي العمود L فقط   ..المطلوب فتح مساحة العرض في الفورم حتي العمود O

انتبه من فضلك .. مشاركة مكررة .. فقد تـــم بالفعل حذف المشاركة الأخرى

Private Sub kh_Startdle2()
Dim i As Integer, ii As Integer, e As Integer
With dlRng
    For i = 1 To .Rows.Count
        If IsNumeric(.Cells(i, 1)) Then
            ii = ii + 1
            e = IIf(Len(.Cells(i, 2)), 2, IIf(Len(.Cells(i, 4)), 4, IIf(Len(.Cells(i, 6)), 6, 8)))
            ReDim Preserve cAry(1 To ii)
            cAry(ii) = i & " " & e
        End If
    Next
End With
If ii Then kh_SContl 0
End Sub

 

image.jpeg

33.JPG

نموذج للدليل المحاسبي 4 مستويات.xlsm

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

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