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

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

  • أفضل إجابة
قام بنشر

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

استخدم هذا الكود

Sub UniqData()
Dim ws As Worksheet, sh As Worksheet, C As Range
Set ws = Sheets("1")
Set sh = Sheets("2")
Dim obj As Scripting.dictionary
Set obj = New Scripting.dictionary
For Each C In ws.Range("C3:C" & ws.Range("C" & Rows.Count).End(3).Row)
obj(C & "") = ""
Next
sh.Range("B4").Resize(obj.Count) = Application.Transpose(obj.keys)
End Sub

 

  • Like 2

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