LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 527
Default Comments into a cell without VB.

Neat!!

"Gary''s Student" wrote:

You are correct, but some people are shy of VBA. This small routine will run
down column A, grab any comments, and append them to the data already in the
cell:

Sub xrf_cmts()
For i = 1 To Cells(Rows.Count, 1).End(xlUp).Row
Set r = Cells(i, 1)
Set cmt = r.Comment
If cmt Is Nothing Then
Else
s = cmt.Text
r.Value = r.Text & s
End If
Next
End Sub

--
Gary''s Student
gsnu200711

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
print comments using cell contents, not cell# dickenswick Excel Discussion (Misc queries) 3 September 20th 06 11:48 PM
Cell Comments NathanS Excel Discussion (Misc queries) 1 July 10th 06 02:44 PM
Need to add cell comments in unlocked cell on protected worksheet dan400man Excel Discussion (Misc queries) 3 December 16th 05 08:02 PM
Comments in cell Norman K via OfficeKB.com Excel Discussion (Misc queries) 2 October 3rd 05 05:13 PM
cell comments rick N Excel Worksheet Functions 1 February 11th 05 09:02 AM


All times are GMT +1. The time now is 07:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"