Copy cell without border

S

Sparrowhawk

I know this is a ridiculously simple question but I cannot find th
solution anywhere on the net or in the help files. I have data in
cell that has a border around it and I want to be able to copy the dat
without the border to a cell on another sheet.

This code copies the border and the data:

Worksheets("Sheet1").Range("B4").Copy _
Destination:=Worksheets("Sheet2").Range("E5")

TIA
Ke
 
P

Paul B

Ken, try this
Worksheets("Sheet2").Range("E5") = Worksheets("Sheet1").Range("B4").Value


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 2003
** remove news from my email address to reply by email **
 
D

Don Guillett

If its only data and you only need the value try
sheets("Sheet2").Range("E5").value=sheets("Sheet1").Range("B4")
 
J

Jack Schitt

In addition to the other solutions posted, if you want to paste everything
except the borders you could try

Worksheets("Sheet1").Range("B4").Copy
Worksheets("Sheet2").Range("E4").PasteSpecial_
Paste:=xlPasteAllExceptBorders
 
Top