如何统一设定excel批注的字体格式

 时间:2026-02-14 01:20:22

在菜单模块中插入代码,就可以让excel拥有统一设定批注的字体格式的功能。

代码如下:

Sub commentCount()    Dim commentCount As Integer    commentCount = Sheets("Sheet1").

Comments.Count Dim i As Integer    Dim calculateRow As Integer    For i = 1 To 

commentCount  calculateRow = Len(Worksheets("Sheet1").Comments(i).Text) / 37       

Worksheets("Sheet1").Comments(i).Parent.Comment.Shape.Width = 350     

Worksheets("Sheet1").Comments(i).Parent.Comment.Shape.Height = 

(Int(calculateRow) + 2) * 12.5 Debug.Print calculateRow & ";" & i    Next iEnd Sub

查批注的方法:

1.打开EXCEL表格,可以看到添加批注的单元格右上角会显示红色的三角。

如何统一设定excel批注的字体格式

2.鼠标移动到单元格上方时,会显示批注内容。

如何统一设定excel批注的字体格式

3.自己也可根据需要,点击“显示批注”进行查看。

如何统一设定excel批注的字体格式

4.如果不清楚哪些位置有批注,也可按F5打开定位--定位条件——批注。

如何统一设定excel批注的字体格式

  • Excel2007怎么设置自动调整批注文字大小
  • Excel如何批量修改批注部分文字
  • EXCEL中如何设置使批注自动调整大小
  • 如何批量改变Excel中带批注的单元格格式?
  • Excel批注文字调整成合适大小
  • 热门搜索
    成都周边有什么好玩的地方 说明方法及其作用 懿是什么意思 调剂是什么意思 欣慰是什么意思 央视董卿出了什么事 身份证号码的数字代表什么 双标是什么意思 发膜有什么用 竹炭的作用