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

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

قام بنشر

جرب هذا الماكرو

Option Explicit
Sub hid_cells()
Range("g6:g33").NumberFormat = ";;;"
Cells(Application.Match(Range("g5"), Range("g6:g33"), 0) + 5, 7).NumberFormat = "General"
End Sub

Private Sub Worksheet_Change(ByVal Target As Range)
 Application.EnableEvents = False

 If Not Intersect(Target, Range("g5")) Is Nothing Then
   hid_cells
   Else
   Range("g6:g33").NumberFormat = "General"
 End If
   Application.EnableEvents = True
   
End Sub

الملف مرفق

aamir_HID_LETERS.xlsm

  • Like 1

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