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

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

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

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

Option Explicit

Sub divise_cells()
Dim i%: i = 1
Dim dic As Object
Dim itm, k, m%: m = 1
Range("c1").CurrentRegion.ClearContents
Set dic = CreateObject("Scripting.Dictionary")

Do Until Range("a" & i) = vbNullString
  dic(i) = Split(Range("a" & i), ",")
  i = i + 1
  Loop

For Each itm In dic.items
    Cells(m, 3).Resize(, UBound(itm) + 1) = itm
    m = m + 1
 Next
 dic.RemoveAll: Set dic = Nothing
End Sub

 

 

Taksim.xlsm

  • 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