Copying comments to master sheet?

jammin7800

New Member
Joined
Mar 19, 2006
Messages
25
I've searched the board and not found what I'm looking for.

Here's my "Comments" issue.

I have a single workbook with 4 worksheets in it. This is a dimensional report sheet. We measure stuff and report our findings.

The first worksheet is the master sheet. The next three sheets are filled in by three different inspectors.

I've got a formula in all the appropriate cells in the master sheet that brings in values from the other 3 sheets. It uses an IF formula. If there is no value reported on any of the 3 inspection sheets, the master sheet displays the text "MISSING".

So, the Master Sheet is the compilation or summary sheet, if you will.

Is there a way to have the master sheet bring in not only the values, but also the comments of cells from the other 3 sheets? There will be no cell that has comments on more than one inspector sheet.

Right now, I'm using Copy -> Paste Special -> Comments. I'm looking to automate this, so that as soon as an inspector fills in a value and adds a comment, both items get put into the master sheet automatically.
 
K, this isn't coded well, but it'll give you an idea.
Code:
    Selection.ClearComments
    Selection.AddComment
    myReference = Selection.Formula
    myText = Range(myReference).Comment.Text
    With Selection
        .Comment.Visible = True
        .Comment.Text Text:=myText
    End With
There's chance for the cell to not have a formula, not have any comment, etc.

Sub MacroName ()<MACRO name>
the code goes here
end sub

Then assign the macro to a control-key or a button or whatever you wish.
I place macros in the worksheet that will use them, or if multiple worksheets, i will put them in personal.xls
 
Upvote 0

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top