Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Erik!
I've got it!!! In a protected sheet, in an unprotected cell you cannot copy a comment from another cell (even though destination cell is UNPROTECTED and you have access to selecting it), in another sheet. Stupid, isn't it? Thanks again! Mike -----Original Message----- Hi, it works for me with this code: Sub Test() Dim fromRange, toRange As Range Set fromRange = ActiveWorkbook.Sheets(1).Range("A1:C1") Set toRange = ActiveWorkbook.Sheets(2).Range("A1") fromRange.Copy toRange.PasteSpecial Paste:=xlPasteComments End Sub Best reg. Erik B "mike" wrote in message ... Hi, I'm in a big confusion and I need help! In a VBA application in Excel I wrote some statement like this: "fromRange.Copy toRange.PasteSpecial Paste:=xlPasteComments" where, as you probably guessed, "fromRange" and "toRange" are range objects. Unfortunately, časte instruction doesn't work. The comments, defined in "fromRange", aren't copied into "toRange" as I expect. Could someone help me to solve this mistery? Thank you in advance! Mike . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel 2000 how to format the comments font all comments | Excel Discussion (Misc queries) | |||
Copied formula produces unexpected copied results | New Users to Excel | |||
Having comments copied when using formulas | Excel Worksheet Functions | |||
in excel useing comments how do you add clip art to comments? | New Users to Excel | |||
Why my cell format is not copied when I copied workbook? | Excel Programming |