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

Inserting the User's Address

If you enter your address into Word, you can insert that address anywhere you want in a document by using a single field. ...

Discover More

WordTips: The Macros (Special Offer)

WordTips: The Macros can help you discover the power and capabilities of macros within the word environment. Another ...

Discover More

Understanding and Controlling Third-Party Cookies

Cookies can be a good thing, but they can also be aggravating. Here's a high-level explanation about a specific type of ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (menu)

Pasting a Comment into Your Worksheet

Excel allows you to not only put information into cells, but into comments attached to those cells. Here's how to copy the ...

Discover More

Editing Comments

Comments can be very helpful in a worksheet. After they are added, you may want to change what they contain. Here's how to ...

Discover More

Adding a Comment to Multiple Cells

Adding a comment to a single cell is easy. What if you want to add the same comment to multiple cells, however? Here are some ...

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 8Mpixels. 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 eight minus 3?

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.