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

Suppressing Zero Values in PivotTables

PivotTables are great for digesting and analyzing huge amounts of data. But what if you want part of that data excluded, ...

Discover More

Comma-Delimited and MS-DOS CSV Variations

Excel provides different file formats you can use to export your worksheet information. One such file format is CSV, or ...

Discover More

ExcelTips: Powerful Lookup Functions (Special Offer)

ExcelTips: Powerful Lookup Functions is a key resource in discovering how to use Excel's amazing lookup functions. ...

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)

Managing Comments

If you frequently add comments to cells in a worksheet, Excel provides a variety of tools you can use to manage those ...

Discover More

Keyboard Shortcut for Comments

Adding comments to the cells in your worksheets can help to document different aspects of that worksheet. Adding a ...

Discover More

Moving Comment Background Pictures to Cells

When formatting comments, you can use a graphic as a background for the comment box. If you later want to move this ...

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