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

خطأ فى كود دمج ارجو التعديل


إذهب إلى أفضل إجابة Solved by احمد عبد الناصر,

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

اخى الفاضل محمد

بارك الله فيك

ولكنى اريد اضهار الاصفار

على شمال الارقام

وليس على يميننها

وقد اخطأت فى المرفق فى المشاركه رقم 1

ارجو التماس العزر من الاعضاء

انظر المرفق

دمج.rar

رابط هذا التعليق
شارك

  • أفضل إجابة

السلام عليكم

 

جرب هذا 

 

Sub HIMA()
Application.ScreenUpdating = False
 Dim ws10 As Worksheet
   Set ws10 = Sheets("ÇáÈíÇäÇÊ")
LR = ws10.Cells(Rows.Count, 3).End(xlUp).Row
ws10.Range("X8:Z10000").ClearContents
For i = 8 To LR
ws10.Cells(i, 12) = ws10.Cells(i, 10) & ws10.Cells(i, 9) & ws10.Cells(i, 8) & ws10.Cells(i, 7) & ws10.Cells(i, 6) & ws10.Cells(i, 5) & ws10.Cells(i, 4) & ws10.Cells(i, 3)
ws10.Cells(i, 12).NumberFormat = "@"
Next i
Application.ScreenUpdating = True
End Sub

 

او بامكانك تغير تنسيق الخلايا المراد الترحيل اليها  الي text .

 

تحياتي

رابط هذا التعليق
شارك

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.

×
×
  • اضف...

Important Information