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

سؤال عن كود لاخفاء الاعمدة التى يوجد بها ارقام


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

أختي الفاضلة

ما هو النطاق المراد العمل عليه ؟ هل هو C17:X17 فقط .. ؟ مزيد من التوضيح حيث ان التوضيح المرفق في المرفق غير مطابق للمرفق

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

جربي الكود التالي عله يفي بالغرض إن شاء المولى

Sub HideZeroColumns()
    Dim Cell As Range
    For Each Cell In Range("C17:X17")
        If IsEmpty(Cell) Or Cell = 0 Then Cell.EntireColumn.Hidden = True
    Next Cell
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