-
Solved: how to paste only value since there r some fuction in cells
hi
how to paste only value since there r some fuction in cells
[VBA]With ws
If .Name <> "Report" Then
.Range("A1:C1").Copy Destination:=Sheets("Month Total").Range("A" & Rows.Count).End(xlUp).Offset(1) _
.Range("A1:C1").PasteSpecial xlPasteValues
End If
End With[/VBA]
this code give me the run time error 1004
"past-special method of range class failed"
thanks for any help
-
try:[VBA]With ws
If .Name <> "Report" Then
Sheets("Month Total").Range("A" & Rows.Count).End(xlUp).Offset(1).Resize(, 3) = .Range("A1:C1").Value
End If
End With
[/VBA]
p45cal
Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules