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

كود صغير جدا و لكن مفيد جدا_AUTO fit_تغير عرض العمود طبقا للنص و الرقم


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

تم رفع هذا الكود فى مشاركة منفصله


حتى لا ننسى هذه المشاركة    

 

تم ارفاق كود الحل من الفاضل _ ا /الشيباني1


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
   If Not OldRng Is Nothing Then
       OldRng.EntireColumn.AutoFit
   End If
   Set OldRng = Target
End Sub

 

مرفق الملف

 

___.zip

 

 و لا تنسونا من صالح الدعاء

تحياتى

 
تم تعديل بواسطه جلال الجمال_ابو أدهم
  • 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