批量修改批注大小
Option Explicit
Sub 標簽大小自適應()
Dim i As Long, j As Long
On Error Resume Next
For i = 1 To 1000 '1000行
For j = 1 To 26 'Z列
Cells(i, j).Comment.Shape.TextFrame.AutoSize = True
Next
Next
End Sub
Sub 標簽大小自適應()
Dim i As Long, j As Long
On Error Resume Next
For i = 1 To 1000 '1000行
For j = 1 To 26 'Z列
Cells(i, j).Comment.Shape.TextFrame.AutoSize = True
Next
Next
End Sub
轉載于:https://blog.51cto.com/48672/1123454
總結
- 上一篇: ubuntu下安装vmtools失败,提
- 下一篇: VS2005 解决应用程序配置不正确,程