Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Copy a comment to another cell - How?

I have a sheet with a number of comments. I need to be able, via vba
code, to copy these comments, with all their formats, but not the cell
contents itself, to another cell on another sheet (ie only the
comment).

How do I do this?

Thanks for your help,
Dennis.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Copy a comment to another cell - How?

Dennis,

Try

Range("B2").Copy
Range("B3").PasteSpecial Paste:=xlPasteComments

(using "B2" and "B3" as random examples)

Hope this helps,
Ryan


-----Original Message-----
I have a sheet with a number of comments. I need to be

able, via vba
code, to copy these comments, with all their formats, but

not the cell
contents itself, to another cell on another sheet (ie

only the
comment).

How do I do this?

Thanks for your help,
Dennis.
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Copy a comment to another cell - How?

Thanks - perfect.


"Ryan Poth" wrote in message ...
Dennis,

Try

Range("B2").Copy
Range("B3").PasteSpecial Paste:=xlPasteComments

(using "B2" and "B3" as random examples)

Hope this helps,
Ryan


-----Original Message-----
I have a sheet with a number of comments. I need to be

able, via vba
code, to copy these comments, with all their formats, but

not the cell
contents itself, to another cell on another sheet (ie

only the
comment).

How do I do this?

Thanks for your help,
Dennis.
.

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 do i copy information from a cell into a comment? MandiMae Excel Discussion (Misc queries) 2 April 23rd 08 09:09 PM
Copy cell to another as a comment rpick60 Excel Worksheet Functions 3 December 27th 07 01:56 AM
copy comment content to cell content as data not as comment Lilach Excel Discussion (Misc queries) 2 June 21st 07 12:28 PM
How do I copy a comment to become the information in a cell. Patrick from RAS Excel Discussion (Misc queries) 1 August 24th 05 06:45 AM
How do I copy text from a cell into a comment? Catnip Excel Discussion (Misc queries) 1 May 27th 05 02:12 PM


All times are GMT +1. The time now is 09:56 PM.

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"