Results 1 to 3 of 3

Insert Rows and Copy Last Line Entered Into New Rows

Threaded View

MDW12 Insert Rows and Copy Last... 08-18-2016, 03:23 PM
davesexcel Re: Command Button Code Help 08-19-2016, 05:53 AM
bakerman2 Re: Insert Rows and Copy Last... 08-19-2016, 06:54 AM
  1. #1
    Registered User
    Join Date
    04-04-2016
    Location
    Ohio, USA
    MS-Off Ver
    2010
    Posts
    26

    Insert Rows and Copy Last Line Entered Into New Rows

    Hello all,

    I posted a similar request yesterday (thanks for the help DBY) but have found I need to change my approach.

    I have a spreadsheet where one employee enters data in to one row, then another employee will insert X number of rows depending on sample size, but the data from employee #1 does not get copied in to the inserted rows.

    What I'd like to do is have a userform for employee #2 that they can enter the number of samples, click the command button, and it will insert the rows needed (number of samples - 1) and then copy the data that employee #1 had entered into those newly inserted rows.

    I've attached a sample workbook showing what it would look like after a first and then second entry have been made.

    Thanks for any help!
    Attached Files Attached Files
    Last edited by MDW12; 08-19-2016 at 06:22 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA code to create command button. Print all sheets then delete command button.
    By Declamatory in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-15-2015, 05:18 PM
  2. [SOLVED] Run Command Prompt Icacls code in VBA Command Button on Userform
    By luismalave in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2015, 11:40 PM
  3. Create a command button with code with a command button
    By jakara in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2013, 01:28 PM
  4. Code for a master command button to change the backcolor of multiple command buttons?
    By panttherm5 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2012, 10:11 PM
  5. [SOLVED] vba code, command bar, command bar button, one button works but not two
    By amazingg64 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2012, 09:55 AM
  6. Trying to Give New Command Button Code from Another Sheet's Code
    By MegaRush in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2012, 09:43 AM
  7. [SOLVED] Command Button VBA code
    By Terry in forum Excel General
    Replies: 3
    Last Post: 01-25-2005, 08:06 PM

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