• code to replace date (2003)

    Author
    Topic
    #451177

    I need to (using code)

    Select and copy D2
    Select D2000 xl.up to find the bottom data cell
    Replace the bottom data cell up to D3 with the contents of D2.

    D2 is a date (in the correct format). The rest of the rows may or may not contain a date, some dates are incorrectly formatted. This is due to a data merge from multiple sources.

    Thanks

    Viewing 0 reply threads
    Author
    Replies
    • #1110101

      Try this:

      Range(“D2”).Copy Destination:=Range(Range(“D3”), Range(“D2000”).End(xlUp))

      • #1110108

        Ctrl Find , replace with grin

        I had a feeling that there was an easier way!! thankyou

    Viewing 0 reply threads
    Reply To: code to replace date (2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: