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

Too Many Formats when Sorting

Sorting is one of the basic operations done in a worksheet. If your sorting won't work and you instead get an error ...

Discover More

Sorting by Colors

Need to sort your data based on the color of the cell or the color of the text within the cell? Excel makes it easy to do ...

Discover More

Applying Range Names to Formulas

If you define your named ranges after you create your formulas, you can have Excel update those formulas to reflect the ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 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 ...

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 ...

Discover More

Inserting Workbook Comments Into a Cell

One of the pieces of information that Excel can maintain relative to a workbook is a set of comments of your choice. ...

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 4 - 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.