+ Reply to Thread
Results 1 to 6 of 6

Inserting data into the next row when hitting the submit button

  1. #1
    Registered User
    Join Date
    08-31-2013
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2010
    Posts
    9

    Inserting data into the next row when hitting the submit button

    Hi all, I'm new to VBA and trying to figure all this macro business out. I have checkboxes and a submit button on Sheet1 of my workbook. When I hit the submit button, I want the data to appear on Sheet2. The data that appears is based on what checkboxes I clicked.

    I'm having trouble making the data insert into a new row on Sheet2. Any help would be greatly appreciated!
    Here's the code for my button. Don't mind the values for now, I just want to figure the code out for inserting a new row.

    Please Login or Register  to view this content.
    Thanks!
    Last edited by jamalfried; 09-01-2013 at 07:23 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Inserting data into the next row when hitting the submit button

    Hi,

    Change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Hope this helps

  3. #3
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Inserting data into the next row when hitting the submit button

    Would you like the new row at the top or the bottom of sheet 3?
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  4. #4
    Registered User
    Join Date
    08-31-2013
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Inserting data into the next row when hitting the submit button

    Thanks ajryan88! Works great.

    Solus Rankin: if I wanted to change it in the future, how would I make the new row at the bottom of Sheet 3?

  5. #5
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Inserting data into the next row when hitting the submit button

    Perhaps
    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Inserting data into the next row when hitting the submit button

    No problems!

    Please don't forget to mark this thread as solved and click on the * next to any helpful posts, just to say thanks to the poster

+ 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] How to: copy data from sheet 1 to 2 after hitting a submit button?
    By WillGe in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-12-2012, 01:29 AM
  2. Replies: 1
    Last Post: 02-05-2012, 09:31 PM
  3. inserting rows with submit button
    By den88 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2010, 06:18 PM
  4. Create a Submit button save filename as A1, submit email unc path, etc.
    By briant97 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-30-2009, 09:52 AM
  5. Transfering Data from one sheet to another using a 'submit' button
    By vjsmith10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2009, 06:29 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