Copying with .Value

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

Cells.Find("latest").Select
Selection.Copy Destination:=ActiveCell.Offset(0, 1)

I wish to use only the value of the cell.

What is wrong with

Cells.Find("latest").Select
Selection.Copy Destination:=ActiveCell.Offset(0, 1)

Thanks
 
Maybe

Range("latest").Select
ActiveCell.Copy
ActiveCell.Offset(0, 1).PasteSpecial xlPasteValues

Mike
 
Maybe

Range("latest").Select
ActiveCell.Copy
ActiveCell.Offset(0, 1).PasteSpecial xlPasteValues

Mike









- Show quoted text -

But am I using the clipboard in doing this?
 
Dim c As Range
'On Error Resume Next
Set c = Nothing
Set c = ActiveSheet.Cells.Find("latest")

If Not c Is Nothing Then
With c
..Offset(0, 1).Value = .Value
..Clear
' or maybe only
' .ClearContents
End With
' else
' msgbox "''latest'' not found"
End If

Regards,
Peter T
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top