+ Reply to Thread
Results 1 to 4 of 4

Two VBA codes needed to paste in same unused row

  1. #1
    Registered User
    Join Date
    08-13-2014
    Location
    USA
    MS-Off Ver
    2007
    Posts
    2

    Two VBA codes needed to paste in same unused row

    I need these two sets of VBA to paste on same line instead of one line below each other.The problem is they both look for an unused row, which is needed, but they should be on the same unused row. Thanks.


    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Here is the Macro that Calls both of these macros.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Two VBA codes needed to paste in same unused row

    hi gsot21, welcome to Excelforum, if I understood your request correctly

    change this line:

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-13-2014
    Location
    USA
    MS-Off Ver
    2007
    Posts
    2

    VBA to Copy Multiple Items and Place them in Single Row

    Attached is the workbook that I am referring too.

    I have a order form people fill out that looks like this.

    -invalid attachment-

    I want to grab all of the data from this sheet(The headers of the tables below) and put it into rows, or in the case of the same person ordering multiple items, multiple rows. My Current VBA does this, but it doesnt line up correctly due to not having a single copy and paste function(I have multiple macros instead). I essentailly need something that will copy (A8:K22,B4,B5,J5) and place them all within a row. My Current VBA is bellow.

    I have this VBA, below and it currently spits out data like this.

    -invalid attachment-

    And I want it to spit out like the Table below

    -invalid attachment-

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Paul; 08-15-2014 at 03:44 PM. Reason: Two threads merged (third deleted, which apparently had the attachments). Please re-attach files to this thread.

  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: VBA to Copy Multiple Items and Place them in Single Row

    Hi gsot21

    Try this Code for your Submit Button
    Please Login or Register  to view this content.
    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.

+ 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. [SOLVED] Macro or VBA Codes needed for printing report
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 49
    Last Post: 03-06-2013, 09:12 AM
  2. [SOLVED] Formula/function needed to find missing zip codes
    By GreenMartian in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-09-2012, 12:49 PM
  3. Copy & Paste text using VBA codes
    By mvel_sky in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-18-2009, 06:17 AM
  4. re : Help needed on some codes
    By dic09 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2006, 01:26 AM
  5. copy paste codes
    By Taru in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-19-2006, 02:38 PM

Tags for this Thread

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