- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 242
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-8
|
¦^´_ 15# a77261988 - Sub nn()
- Dim A As Range, i%, s%
- If Application.CountA(Selection.EntireColumn) = 0 Then Exit Sub 'ÁקKÄæ¦ìµL¸ê®Æ
- For Each A In Selection.EntireColumn.SpecialCells(xlCellTypeConstants)
- i = 0: s = 0: A = Application.WorksheetFunction.Substitute(A, Chr(10), "") '¨ú®ø´«¦æ²Å¸¹
- Do Until InStr(Mid(A, i + 1), "-") = 0
- i = InStr(i + 1, A, "-")
- s = s + 1
- If s Mod 3 = 0 Then A = Application.WorksheetFunction.Replace(A, i, 1, "-" & Chr(10))
- Loop
- Next
- Selection.EntireColumn.AutoFit
- End Sub
½Æ»s¥N½X |
|