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

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

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

السلام عليكم

استخدم الكود التالي:

Private Sub CommandButton4_Click()

Dim MyAr

Dim MySh As Worksheet

Dim C As Integer

Set MySh = Sheets("farest")

MyAr = Array("E:BH", "AH:BB", "BJ:CD", "CK:FP", "FW:IV")

With MySh

    .Cells.EntireColumn.Hidden = False

    .Rows("1:15").EntireRow.Hidden = True

    For C = 0 To 4

        .Columns(MyAr(C)).EntireColumn.Hidden = True

    Next

    .PrintPreview

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