Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

comments box

ResolvedVersion 2007

Adrian has attended:
Excel Intermediate course
Excel Advanced course
Project Intro Intermediate course
Excel Advanced course

Comments box

Does anyone know how can you link a Comments box to more than one cell. Often a comment (eg "error corrected") can apply to more than one cell, and you don't want to keep replicating or copying the same comment box each time. In essence there should be an option to "link" the Comments box to as many cells as needed. But where is it? If not, can be created?

RE: Comments box

Hi Adrian,


Thank you for your question regarding comments.

As I mentioned during the class I believe this is something Excel itself is unable to do, however VBA may provide the answer.

I am in conversation with a couple of collegues about this so endeavour to get an answer to you as soon as possible.

Sorry for the delay.


Have a great day.

Regards,


Nafeesa

Microsoft Office Specialist Trainer

RE: Comments box

Hi Adrian

Thanks for your question

It is indeed possible to enter comments into multiple cells using VBA code. In the code snippet below a comment is added into cell B1

Range("B2").Select
Range("B2").AddComment
Range("B2").Comment.Text Text:="This is a test"


You would need to modify this and place it within a loop so that it repeats it for each cell. The skills to do this are covered on the VBA introduction course.

Regards

Stephen


Tue 27 Apr 2010: Automatically marked as resolved.

Excel tip:

How to Spell Check an Excel 2010 Worksheet

Excel 2010 does not automatically spell check a document. So, here's how to manually spell check a worksheet.

Either select the ''Review'' tab in the Ribbon, go to the ''Proofing'' section and click ''Spelling.'' Or, simply press F7.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.