Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default how do I paste excel text into a comment box?

I have data in excel in muliple rows and columns, I want to copy this data
and paste it into a comment. Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default how do I paste excel text into a comment box?

Select the cells (any rows or columns) and run this macro:

Sub commentset()
Dim r As Range
Dim s As String
s = ""
For Each r In Selection
s = s & r.Value
Next
With Range("K9")
.AddComment
.Comment.Visible = False
.Comment.Text Text:=s
End With
End Sub

I picked K9 as the destination to hold the comment, you can pick anything
you want.
--
Gary's Student


"Bonnie" wrote:

I have data in excel in muliple rows and columns, I want to copy this data
and paste it into a comment. Any suggestions?

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 convert a month to a quarter ...... Epinn New Users to Excel 26 May 3rd 23 07:45 PM
How paste text from note pad to excel w/o using (Text to column) f nginhong Excel Worksheet Functions 0 April 18th 06 02:07 PM
How do I copy and paste an Illustratorsketch with text into Excel Suzanne Excel Discussion (Misc queries) 0 November 3rd 05 07:57 PM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
excel paste special should allow text Roger Wagner Excel Worksheet Functions 1 July 19th 05 06:02 AM


All times are GMT +1. The time now is 07:01 PM.

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"