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

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

قام بنشر

استاذي hegazee لو سمحت انظر للص2025-05-01_221801.jpg.f8caeb045b62e17de0c9c54e0178fa6d.jpg2025-05-01_221801.jpg.f8caeb045b62e17de0c9c54e0178fa6d.jpgورة مازالت الكومة موجودة في شريط الدالة وعندى ملف بة عدد كبير من هذة الاشكال اريد منك معرفة الطريقة او الكود المستخدم بارك الله فيك

 

  •  
قام بنشر (معدل)

السلام عليكم ورحمة الله وبركاته

Sub حذفالكومة()
    Dim c As Range
    Application.ScreenUpdating = False: Application.Calculation = xlCalculationManual: Application.EnableEvents = False
    
    For Each c In ActiveSheet.UsedRange
        If VarType(c.Value) = vbString Then
            Dim txt As String: txt = Trim(c.Value)
            If Left(txt, 1) = "'" Then txt = Mid(txt, 2)
            If Right(txt, 1) = "'" Then txt = Left(txt, Len(txt) - 1)
            If txt <> c.Value Then c.NumberFormat = "@": c.Value = txt
        End If
    Next c
    
    Application.ScreenUpdating = True: Application.Calculation = xlCalculationAutomatic: Application.EnableEvents = True
End Sub

ازالة علامة.xlsm

 

تم تعديل بواسطه عبدالله بشير عبدالله

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