• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

From sheet 1 copy selected row then search sheet 2 For same, And if the first range matched then update Sheet 2. if no match then paste on next empty

Status
Not open for further replies.

Catia57

New Member
  1. From sheet 1 copy selected row then search sheet 2 For same, And if the first range matched then update Sheet 2. if no match then paste on next empty row

    sht1
    row A16 THRU K16

    SHT2
    Find Match from sheet 1 in sheet 2
    If A16 thru K16 match update these only, Leave L16 Alone,
    If no Match copy in next empty Row

    i have this now..
    'THIS INPUTS TOOLS
    Sub Move_INPUT_INVENTORY()
    Application.ScreenUpdating = False
    Dim copySheet As Worksheet
    Dim pasteSheet As Worksheet
    Dim UserRange As Range

    Set copySheet = Worksheets("INPUT")
    Set pasteSheet = Worksheets("INVENTORY")


    On Error GoTo Canceled
    Set UserRange = Application.InputBox _
    (Prompt:="Range to cut:", _
    Title:="Range cut", _
    Default:=Selection.Address, _
    Type:=8)
    UserRange.Copy
    UserRange.Select
    Canceled:
    pasteSheet.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).PasteSpecial xlPasteValues
    Selection.EntireRow.Delete
    Application.CutCopyMode = False
    Application.ScreenUpdating = True




    End Sub

    Quick reply to this messageReply Reply With QuoteReply With Quote Multi-Quote This Message
    0 0

 
Status
Not open for further replies.
Back
Top