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

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

قام بنشر

الاخوة الاساتذة الافاضل

احد الاساتذة الاخوة الافاضل اهدانى هذا الكود

عندما اغير اسم الورقة لرقم تتغير الى الشهر واريد تنفيذه على هذه الورقة ارجو شرحه

Private Sub Worksheet_Change(ByVal Target As Range)
i = 3
[dx100] = 0
For r = 2 To 63
Application.ScreenUpdating = False
[dx100] = [dx100] + 1
[dx101] = ActiveSheet.Name
Cells(i, r) = ActiveSheet.Name & "/" & [dx100]
If Cells(i - 1, r).Value = [dx101] Then
Cells(i, r).EntireColumn.Hidden = False
Cells(i, r).ColumnWidth = 26
r = r + 1
Else
Cells(i, r).EntireColumn.Hidden = True
End If
Next
[dx100] = ""
[dx101] = ""
Application.ScreenUpdating = False

End
End Sub

;

احترامى اخيكم

____.rar

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