Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to copy into Comments pop-up

I would like to generate a macro that will copy comments from a cell into
another cells Comments pop-up screen.

It will need to find a value in a column, go to the comments column
(approximately 4 columns away), copy the comments from the cell, go to the
Results Sheet and insert the comments into the Column pop-up.

The Results Sheet cell value will change to accomodate different scenarios.
The comments must change in accordance to this value. There will be several
cells in the Results Sheet that will have Comments and each of them will need
to be updated as the cell changes value.

Any help is appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro to copy into Comments pop-up

Sub ABCD()
Dim rng as Range, rng1 as Range
Dim cmt as Comment
set rng = columns(3).Find("target")
if not rng is nothing then
set rng1 = rng.offset(0,4)
For Each cmt In Worksheets("Results").Comments
cmt.Shape.TextFrame.Characters.Text = rng1.TExt
Next
End if
End Sub

--
Regards,
Tom Ogilvy


"Jelly's" wrote in message
...
I would like to generate a macro that will copy comments from a cell into
another cells Comments pop-up screen.

It will need to find a value in a column, go to the comments column
(approximately 4 columns away), copy the comments from the cell, go to the
Results Sheet and insert the comments into the Column pop-up.

The Results Sheet cell value will change to accomodate different

scenarios.
The comments must change in accordance to this value. There will be

several
cells in the Results Sheet that will have Comments and each of them will

need
to be updated as the cell changes value.

Any help is appreciated.



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
Drag copy comments PYO1012 Excel Discussion (Misc queries) 2 February 12th 10 01:44 PM
Copy comments box chesjak Excel Discussion (Misc queries) 3 October 23rd 08 11:37 PM
I need to copy only those cell where comments is there Vimal K Excel Worksheet Functions 1 May 18th 07 02:12 PM
Copy Comments field8585 Excel Worksheet Functions 1 December 15th 05 05:58 AM
How do I copy comments into cells SeanCrown Excel Worksheet Functions 2 November 17th 05 06:33 PM


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