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

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

قام بنشر

مرفق جدول جاهز والمطلوب اخفاء واظهار الصفوف بناء علي الشرط بخانة الشريحة بناء علي المبلغ المدخل في خانة الدخل السنوي والصفوف التى لا ينطبق عليها الشرط تختفي

1.xlsx

ويكون ظهور الصفوف واختفاءها ديناميكيا

قام بنشر

السلام عليكم

حسب فهمى لطلبك اليك الكود / اكتب القيمة في G2  

Private Sub Worksheet_Calculate()
    Dim cell As Range
    Application.EnableEvents = False
    For Each cell In Me.Range("E6:E12")
        If cell.Value = 0 Then
            cell.EntireRow.Hidden = True
        Else
            cell.EntireRow.Hidden = False
        End If
    Next cell
    Application.EnableEvents = True
End Sub

11.xlsb

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