Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Static Sizes for Comment Boxes.

Static Sizes for Comment Boxes

by Allen Wyatt
(last updated August 30, 2016)

1

Jean-Marc is having a problem with comment boxes in his workbooks. It seems that every time he opens an Excel workbook in which he previously inserted comments, those comments have changed size. For example, if he inserts a 2" by 2" comment (or places a picture inside a comment box), the next time he opens the workbook only half the picture shows in a much larger comment box. Jean-Marc is wondering if there is a way to make the comment boxes retain the same size as he originally sets them.

The solution seems to be related to how the comment is created. How you view comments is controlled by three option buttons on the View tab of the Options dialog box. If you choose to view Comments & Indicators, then the sizes of your comments should remain static. If you choose to view only the indicators, then Excel chooses how and where to display the comment each time it is redisplayed.

If you don't want your comments to always be visible, but you still want them to retain their sizes, then the only option is to develop a macro that will do the resizing for you.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3160) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Static Sizes for Comment Boxes.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Modifying Axis Scale Labels

You want your chart to display information as clearly and succinctly as possible. Modifying the labels used to indicate ...

Discover More

Changing Input Conventions

Different cultures have different conventions for displaying numbers and for parameters in Excel's worksheet functions. ...

Discover More

Clearing Large Clipboard Entries

Need to clear out a large amount of information saved on the Clipboard? All you need to do is to replace it with a small ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (menu)

Finding and Replacing Text in Comments

Excel allows you to add comments to individual cells in your workbook. Unfortunately, Excel doesn't provide a way to ...

Discover More

Printing Comments

Comments can be a boon when you want to annotate your worksheets. If you want, you can instruct Excel to print the ...

Discover More

Comments Don't Appear when Cell is Pointed To

One way that you can view comments in a worksheet is to have them appear when you hover the mouse pointer over a cell. If ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is nine more than 0?

2014-01-12 05:37:32

Roy Taylor

There is always the opposite problem. I populated comment boxes with lists of names but it would only show the first few.
I found this piece of coding that resized the box to show all the names; it also shrunk the comment boxes if there were only a few names.

Rem this coding automatically resizes the comment box to show all the data
Sub AutoSizeComment()
Dim CmtCount As Integer, i As Integer

CmtCount = ActiveSheet.Comments.Count
For i = 1 To CmtCount
ActiveSheet.Comments(i).Visible = True
ActiveSheet.Comments(i).Shape.Select True
With Selection
.AutoSize = True
End With
ActiveSheet.Comments(i).Visible = False
Next i

End Sub


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.