+ Reply to Thread
Results 1 to 3 of 3

How to copy data to last row of another worksheet

  1. #1
    Registered User
    Join Date
    11-05-2007
    Posts
    34

    How to copy data to last row of another worksheet

    Hi,

    I have two worksheets, worksheet1 = "SalesOrder",
    worksheet2 = "Allocation".

    Both Worksheets have column headers from A- AC.

    I need to copy those data from SalesOrder to add in the list of Allocation at the last row of worksheet 2.

    I tried recorded macro with relative reference but it says
    "The Information cannot be pasted because the copy area and the paste area are not the same size and shape."



    Code for Record Macro

    Please Login or Register  to view this content.

    Code Which I tried to Write
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    The following statement will copy SalesOrder cells to ShipmentAllocation3 sheet at the end of the worksheet:
    Please Login or Register  to view this content.
    HTH

    Jason

  3. #3
    Registered User
    Join Date
    11-05-2007
    Posts
    34
    Thanks Jason, the code runs well

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1