|
'比较奇怪第一次看到有这单元格,试一下
Option Explicit
Sub test()
Dim i, j, k, t, arr
Application.ScreenUpdating = False
For i = 2 To Cells(Rows.Count, "a").End(xlUp).Row
For j = 1 To Cells(1, Columns.Count).End(xlToLeft).Column
If Len(Cells(i, j)) Then
t = vbNullString
For k = 1 To Len(Cells(i, j))
If Cells(i, j).Characters(Start:=k, Length:=1).Font.Size = 9 Then
t = t & Mid(Cells(i, j), k, 1)
End If
Next
Cells(i, j) = t
End If
Next j, i
With [a1].CurrentRegion.Font
.Size = 9
.Color = vbBlack
End With
Application.ScreenUpdating = True
End Sub |
评分
-
1
查看全部评分
-
|