<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://qingliezhiquan.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=%E5%AE%8F%E4%BF%AE%E6%94%B9%E8%A1%A8%E6%A0%BC%E6%89%B9%E6%B3%A8</id>
	<title>宏修改表格批注 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://qingliezhiquan.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=%E5%AE%8F%E4%BF%AE%E6%94%B9%E8%A1%A8%E6%A0%BC%E6%89%B9%E6%B3%A8"/>
	<link rel="alternate" type="text/html" href="https://qingliezhiquan.com/mediawiki/index.php?title=%E5%AE%8F%E4%BF%AE%E6%94%B9%E8%A1%A8%E6%A0%BC%E6%89%B9%E6%B3%A8&amp;action=history"/>
	<updated>2026-08-11T10:45:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://qingliezhiquan.com/mediawiki/index.php?title=%E5%AE%8F%E4%BF%AE%E6%94%B9%E8%A1%A8%E6%A0%BC%E6%89%B9%E6%B3%A8&amp;diff=7856&amp;oldid=prev</id>
		<title>Mwroot: Created page with &quot;同事用 WPS 做的表格批注，用 MS Office Excel 打开，批注框糊成一小块，看不全，用以下宏可解决。  &lt;syntaxhighlight lang=&quot;VBScript&quot; line&gt; Sub ResizeAllComments()     Dim ws As Worksheet     Dim cmt As Comment          For Each ws In ThisWorkbook.Worksheets         For Each cmt In ws.Comments             With cmt.Shape                 .Width = 200 &#039; 设置批注框宽度，可根据需要调整                 .Height = 50 &#039; 设置批注框...&quot;</title>
		<link rel="alternate" type="text/html" href="https://qingliezhiquan.com/mediawiki/index.php?title=%E5%AE%8F%E4%BF%AE%E6%94%B9%E8%A1%A8%E6%A0%BC%E6%89%B9%E6%B3%A8&amp;diff=7856&amp;oldid=prev"/>
		<updated>2025-09-29T01:49:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;同事用 WPS 做的表格批注，用 MS Office Excel 打开，批注框糊成一小块，看不全，用以下宏可解决。  &amp;lt;syntaxhighlight lang=&amp;quot;VBScript&amp;quot; line&amp;gt; Sub ResizeAllComments()     Dim ws As Worksheet     Dim cmt As Comment          For Each ws In ThisWorkbook.Worksheets         For Each cmt In ws.Comments             With cmt.Shape                 .Width = 200 &amp;#039; 设置批注框宽度，可根据需要调整                 .Height = 50 &amp;#039; 设置批注框...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;同事用 WPS 做的表格批注，用 MS Office Excel 打开，批注框糊成一小块，看不全，用以下宏可解决。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;VBScript&amp;quot; line&amp;gt;&lt;br /&gt;
Sub ResizeAllComments()&lt;br /&gt;
    Dim ws As Worksheet&lt;br /&gt;
    Dim cmt As Comment&lt;br /&gt;
    &lt;br /&gt;
    For Each ws In ThisWorkbook.Worksheets&lt;br /&gt;
        For Each cmt In ws.Comments&lt;br /&gt;
            With cmt.Shape&lt;br /&gt;
                .Width = 200 &amp;#039; 设置批注框宽度，可根据需要调整&lt;br /&gt;
                .Height = 50 &amp;#039; 设置批注框高度，可根据需要调整&lt;br /&gt;
            End With&lt;br /&gt;
        Next cmt&lt;br /&gt;
    Next ws&lt;br /&gt;
End Sub&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
代码来自通义千问，prompt：&lt;br /&gt;
&lt;br /&gt;
用宏批量调整批注框的大小&lt;/div&gt;</summary>
		<author><name>Mwroot</name></author>
	</entry>
</feed>