+ Reply to Thread
Results 1 to 8 of 8

Paste data to colums with different layout from the copy range

  1. #1
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Paste data to colums with different layout from the copy range

    Hello again!

    I previously posted a problem related to copying data from one sheet and
    paste it in another workbook when "Delivered" is chosen from a drop down menu. Everything works fine with my dummy files, but a problem comes up
    when I try to incorporate this code into the original file.

    The issue is that once the code copies the info from the range A3:D3 it has to paste it into different cells in the other workbook.
    Please see the attached file to see where I need the data from the range A3:D3 to be pasted.

    Thanks in advance for the help!
    Attached Files Attached Files
    Last edited by Bob@Sun; 10-22-2009 at 04:25 PM.

  2. #2
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Paste data to colums with different layout from the copy range

    Please Help!!!!

  3. #3
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Paste data to colums with different layout from the copy range

    Please help!!!!

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Paste data to colums with different layout from the copy range

    Hi Bob
    Your procedure works for me. My guess is that EnableEvents was set to false. I inserted a procedure in Workbook Open to set EnableEvents to True.
    See if it works for you.
    John

    PS: I forgot to change the path back to your original path. Do that before you run.
    Attached Files Attached Files
    Last edited by jaslake; 10-22-2009 at 02:06 PM. Reason: Add'l info
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  5. #5
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Paste data to colums with different layout from the copy range

    Hi jaslake,

    Thanks for taking your time to help me.

    I guess you did not get me right.
    The problem is that when the code copies the info from the Delivery Status file it does that from the cell A3/B3/C3/D3 - Date/Product1/Product2/Product3
    And I need this data to be pasted in the other file but in different cells
    A2/D2/F2/H2. As you can see in the example file Clients.xls, there is columns like E2,B2,E2 and G2 where different kind of info goes, and I do not wont the code to paste over that information.
    Hope that is clear enough.

    Any suggestion?

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Paste data to colums with different layout from the copy range

    Ah, I see. I'll look at that this afternoon.
    J

  7. #7
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Paste data to colums with different layout from the copy range

    Hi Bob
    Sorry for the earlier mix up. I completely misread your post. Try the attached and see if it works for you. Let me know if you have any issues.
    John
    Attached Files Attached Files

  8. #8
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Paste data to colums with different layout from the copy range

    Yes!

    That it is!

    Thanks for your help mate

+ 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