Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
שי פלד
 
Posts: n/a
Default how can we copy cells comments text and paste to cells

How can I copy comments text and paste into cells (for a full column of
thousands of rows, with hundreds of comments)
--
Shai
email:
  #2   Report Post  
Posted to microsoft.public.excel.misc
Barb Reinhardt
 
Posts: n/a
Default how can we copy cells comments text and paste to cells

http://www.mrexcel.com/archive/Edit/11076.html

"?? ???" wrote in message
...
How can I copy comments text and paste into cells (for a full column of
thousands of rows, with hundreds of comments)
--
Shai
email:



  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default how can we copy cells comments text and paste to cells


Saved from a previous post:

You can retrieve the text from a comment with a userdefined function like:

Option Explicit
Function GetComment(FCell As Range) As Variant
Application.Volatile

Set FCell = FCell(1)

If FCell.Comment Is Nothing Then
GetComment = ""
Else
GetComment = FCell.Comment.Text
End If

End Function

Then you can use it like any other function:

=getcomment(a1)

But be aware that the function won't evaluate when you just change the comment.
It'll be correct when excel recalculates. (Hit F9 to force a recalc.)

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

?? ??? wrote:

How can I copy comments text and paste into cells (for a full column of
thousands of rows, with hundreds of comments)
--
Shai
email:


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
wjohnson
 
Posts: n/a
Default how can we copy cells comments text and paste to cells


select the column you want select "copy" go to where you want to paste -
select PASTE - Then SPECIAL and select what you want to paste.


--
wjohnson
------------------------------------------------------------------------
wjohnson's Profile: http://www.hightechtalks.com/m390
View this thread: http://www.hightechtalks.com/t2306167

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
Strip out text copy and paste? Mark Y via OfficeKB.com New Users to Excel 2 December 7th 05 01:16 PM
How can I copy and paste the text of a formula? Jeff Excel Worksheet Functions 1 August 30th 05 03:45 PM
Copy and paste text and dates Kitty Excel Discussion (Misc queries) 5 March 15th 05 11:03 PM
Copy and Paste to a Text Box Margie Excel Discussion (Misc queries) 1 January 7th 05 04:31 PM
How do I edit, copy and paste text in excel cells? floridactyl New Users to Excel 2 December 31st 04 03:52 PM


All times are GMT +1. The time now is 01:09 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"