ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy...Destination question (https://www.excelbanter.com/excel-programming/385324-copy-destination-question.html)

Damien McBain[_3_]

Copy...Destination question
 
I'm using:

blah.Copy Destination:= etc

Is there a way I can copy the values only and not the formatting? The VBA
help is not forthcoming.

TIA

Damo

NickHK

Copy...Destination question
 
You will need a .Copy then a .PasteSpecial.

Or:
Range("B1").Value=Range("A1").Value

NickHK

"Damien McBain" wrote in message
...
I'm using:

blah.Copy Destination:= etc

Is there a way I can copy the values only and not the formatting? The VBA
help is not forthcoming.

TIA

Damo




Damien McBain[_3_]

Copy...Destination question
 
NickHK wrote:

You will need a .Copy then a .PasteSpecial.

Or:
Range("B1").Value=Range("A1").Value


Thanks Nick, I am trying to avoid using the clipboard. I should be able to
make "a.value = b.value work".

cheers

Damien


All times are GMT +1. The time now is 12:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com