Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DFIChris
 
Posts: n/a
Default How can I translate a comment to text in a cell?

A cell has existing text in it and it has a comment attached to it. I'd like
to append the comment to the end to the existing text in the cell.

Has anyone done this already? Is it possible without going into each and
every comment?

Thanks,
Chris
  #2   Report Post  
Jonathan Cooper
 
Posts: n/a
Default

ASAP utilities has a UDF formula called "ASAPGetComment()". If you install
this utility (which I highly and impartially recomend), you could use this
formula to concatenate the two together.

http://www.asap-utilities.com

"DFIChris" wrote:

A cell has existing text in it and it has a comment attached to it. I'd like
to append the comment to the end to the existing text in the cell.

Has anyone done this already? Is it possible without going into each and
every comment?

Thanks,
Chris

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

You could use a little macro:

Option Explicit
Sub testme()
Dim myCommentCells As Range
Dim myCell As Range

Set myCommentCells = Nothing
On Error Resume Next
Set myCommentCells = Intersect(Selection, _
Selection.Cells.SpecialCells(xlCellTypeComments))
On Error GoTo 0

If myCommentCells Is Nothing Then
MsgBox "Please Select a range with comments and try again!"
Exit Sub
End If

For Each myCell In myCommentCells.Cells
With myCell
.Value = .Value & " " & .Comment.Text
End With
Next myCell

End Sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm


DFIChris wrote:

A cell has existing text in it and it has a comment attached to it. I'd like
to append the comment to the end to the existing text in the cell.

Has anyone done this already? Is it possible without going into each and
every comment?

Thanks,
Chris


--

Dave Peterson
Reply
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
How to reference a text cell that changes weekly in Header or Foo. duane Excel Discussion (Misc queries) 2 March 20th 05 02:31 PM
Cell set to wrap text and blank line -- fix? Fred Holmes Excel Discussion (Misc queries) 0 January 25th 05 07:10 PM
Text in cell not showing in full text in cell in exces Excel Discussion (Misc queries) 2 December 23rd 04 09:13 AM
Finding Partial Text in a Cell bob Excel Worksheet Functions 6 December 18th 04 05:03 AM
Forcing text onto new line in cell Doug Poll New Users to Excel 2 December 3rd 04 12:09 PM


All times are GMT +1. The time now is 08:02 AM.

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

About Us

"It's about Microsoft Excel"