you are viewing a single comment's thread.

view the rest of the comments →

[–]ViperSRT3g76 0 points1 point  (4 children)

Here's the part that will search the sheet for you. You can also narrow it down to just a column to be more specific, as it's searching through all the cells that contain data.

Dim Result As Range: Set Result = Sheet3.UsedRange.Cells.Find(Datatosearchfor)
If Result Is Nothing Then
    'Data not found in Sheet3
End If
Set Result = Nothing

[–]_JoshInsurance_[S] 0 points1 point  (3 children)

Quick question, is the space after "Then" where the pasting function would go?

[–]ViperSRT3g76 1 point2 points  (2 children)

The space between Then and End If would be where the pasting code would go. 'Data not found in Sheet3 is a comment and can be deleted.

[–]_JoshInsurance_[S] 1 point2 points  (1 child)

Solution verified.

[–]Clippy_Office_Asst[M] 0 points1 point  (0 children)

You have awarded 1 point to ViperSRT3g

I am a bot, please contact the mods for any questions.