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

I have data in a few rows and columns, I would like to copy those rows and
columns (approximately 6 total) and paste this information into a comment.
Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default paste excel text into a comment box


Bonnie wrote:
I have data in a few rows and columns, I would like to copy those rows and
columns (approximately 6 total) and paste this information into a comment.
Is this possible?


If you want to do it with VBA code then you need something like this

Dim myText As String

myText = Range("a1") & Range("a2") & Range("a3")
Range("b1").Select
Range("b1").AddComment
Range("b1").Comment.Visible = False
Range("b1").Comment.Text Text:=myText

If you look up "Comment Object" in the VBA help there are some more
examples there.

If you only want to cut and paste and don't want a macro then I suggest
you pick a seventh cell to contain a Concatenate formula which
combines the content of your six cells. Then select that seventh cell.
That will display the combined text in the formula bar. In the formula
bar select all the combined text and copy it to the clip board. You can
now paste this text into the comment of a cell.

Catherine

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default paste excel text into a comment box

six what total? columns? rows? cells?

"Bonnie" wrote:

I have data in a few rows and columns, I would like to copy those rows and
columns (approximately 6 total) and paste this information into a comment.
Is this possible?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 82
Default paste excel text into a comment box

3 columns 2 rows; data like this:

a b c
d e f

I would like to copy all 6 cells and paste this information into a comment.

thank you.
"JLGWhiz" wrote:

six what total? columns? rows? cells?

"Bonnie" wrote:

I have data in a few rows and columns, I would like to copy those rows and
columns (approximately 6 total) and paste this information into a comment.
Is this possible?

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 paste text into a comment box using toolbar commands Halifax New Users to Excel 4 January 18th 09 05:45 AM
how do I paste excel text into a comment box? Bonnie Excel Discussion (Misc queries) 1 December 17th 06 09:02 PM
paste comment text to right of cell [email protected] Excel Programming 3 August 10th 06 10:56 PM
Remove text from Comment and paste into cell BernzG[_11_] Excel Programming 3 August 4th 05 11:52 PM
a comment plugin & copy paste directly from excel to comment ? fr. RFM Excel Worksheet Functions 0 December 1st 04 11:29 PM


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