Macro for Pasting Comments into Cells

Henry

Board Regular
Joined
Mar 7, 2002
Messages
180
I have a List of Rows approximately 500 Rows Long in Column A. Each cell has a different Comment which is adjacent in Col B, same Row. I want to run a Macro or something that will Insert the Definition (Col B) into each respective cell's Comment in Col A, including Formatting the Comment if possible. Right now, I have to go through the Menu one at a time.
Thanks for the help.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Dim intCnt As Integer
intCnt = 1
With ActiveSheet
Do Until .Cells(intCnt, 1) = ""
.Cells(intCnt, 1).AddComment.Text .Cells(intCnt, 2).Value
intCnt = intCnt + 1
Loop
End With
 
Upvote 0
Hi: I copied and pasted this into a macro sheet and nothing happened. Where do you start on the actual worksheet? Do you select the cell that has the Comment and Run or, do you select the cell that has the comment info then run?

Thanks
 
Upvote 0
On 2002-03-15 16:51, Henry wrote:
Hi: I copied and pasted this into a macro sheet and nothing happened. Where do you start on the actual worksheet? Do you select the cell that has the Comment and Run or, do you select the cell that has the comment info then run?

Thanks

Hi Henry
I believe you have to select the start of
your data in column A then run his macro.


Ivan
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,047
Members
448,940
Latest member
mdusw

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