+ Reply to Thread
Results 1 to 3 of 3

Copy Paste between sheets

  1. #1
    Registered User
    Join Date
    02-10-2020
    Location
    saudi arabia
    MS-Off Ver
    office 10
    Posts
    13

    Copy Paste between sheets

    I have PO in one sheet(PO) and data to be stored in another sheet (Request Transaction).

    After complete the PO and click "CREATE" button, PO details to be copied to RT sheet.

    PO has multiple rows of values.

    In sheet PO, PO# in cell M5, PO date in L5, Project Name in C9 Supplier Number in H7, Supplier Name in C7 (these details will be same for Every single PO)

    Item# in C11,C12,.....C35, Item Description in D11,D12,...D35, Item Pack in I11,I12,...I35, Quantity in J11,J12,...J35, Pack in K11,K12...K35, Unit price in L11,L12...L35.

    Now I would like to copy in RT sheet like PO# in A3, POdate in B3, Project name in C3, Supplier # in D3, Supplier name in E3, item # in F3, Item Desc in G3, item Pack in H3, Item qty in I3, Pack in J3, Unit price in K3.

    When I start entering C12, D12,I12,J12,K12,L12 in sheet PO, It has to be copied to F4,G4,H4,I4,J4 and K4 accordingly A4,...E4 will be same as A3....E3 likewise through C35 (Rows variable) until next PO.

    Next PO data should be copied in RT sheet on next available row.

    Can anyone help with VBA code please

    Thanks....
    Attached Files Attached Files
    Last edited by HAJANISHA; 02-23-2020 at 02:01 AM. Reason: Attachment

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,777

    Re: Copy Paste between sheets

    Looking at your file, I noticed that you have many merged ranges. You should not use merged ranges as they almost always create problems for Excel macros. I would suggest that you re-design your workbook so that you have no merged ranges and post the updated version. Do a little research into "Center Across Selection". This will allow you to get the same visual effect as merging horizontal ranges without actually merging them. Since "CenterAcrossSelection" works only with horizontal ranges, don't merge vertical ranges.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    02-10-2020
    Location
    saudi arabia
    MS-Off Ver
    office 10
    Posts
    13

    Re: Copy Paste between sheets

    Thanks... trying to redesign my workbook

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create Sheets, separate records, copy-paste cell values from master to created sheets
    By hishamezzat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-19-2018, 05:31 PM
  2. [SOLVED] Copy Paste From Rawdata Sheets to Multiple Sheets Based on Sheet names
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2017, 11:01 PM
  3. [SOLVED] Copy and Paste value to another Sheets
    By chergian in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-05-2014, 08:35 AM
  4. [SOLVED] Copy and Paste VBA many sheets
    By bjcowen9000 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-20-2013, 11:50 AM
  5. [SOLVED] copy and paste values of all sheets into new sheets
    By greatjobtoday in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2012, 01:44 PM
  6. copy and paste sheets
    By Mile029 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-15-2010, 06:15 PM
  7. Copy/Paste from three sheets into one?
    By mesh1o in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2007, 10:38 AM

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