|
本帖最后由 719404338 于 2018-9-25 22:28 编辑
- Sub t()
- Dim arr, i%, r%,j%
- For i = 2 To Sheet1.[a65536].End(3).Row
- arr = Split(Sheet1.Range("d" & i), " ")
- j= [a65536].End(3).Row + 1
- For m = 0 To UBound(arr)
- Range("d" & j + m) = Split(arr(m), "(")(0)
- Range("e" & j + m) = Split(Split(arr(m), "(")(1), ")")(0)
- Range("a" & j + m) = Sheet1.Range("a" & i)
- Range("b" & j + m) = Sheet1.Range("b" & i)
- Range("c" & j + m) = Sheet1.Range("c" & i)
- Range("f" & j + m) = Sheet1.Range("e" & i)
- Next
- Next
- End Sub
复制代码 |
评分
-
1
查看全部评分
-
|