+ Reply to Thread
Results 1 to 7 of 7

Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Table

  1. #1
    Registered User
    Join Date
    08-28-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010, 2013
    Posts
    69

    Question Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Table

    Good morning!

    I am a total noob to VBA creation. I have been looking through the forums for scraps of code to apply to my workbook, but it is not performing as desired.

    I would like completed data rows entered into the "EnterTime" worksheet to be moved to the "Review" Worksheet when clicking on the "Add Records" button, without deleting formatting or rows from the "EnterTime" record (I just want the text moved and the "EnterTime" worksheet cleared). Currently, the macro is pasting blank rows as well as completed rows to the "Review Tab".

    I would then like the data to be moved, one record at a time from "Review" worksheet to "Data" worksheet after the HR person has entered the Pay Status (column J), which can be U or P, and their initials. It could be multiple people that enter initials. Currently, the data is not moved when the information is entered.

    While I appreciate how thorough everyone is in their posts and how helpful they are with providing information, I would also like a critique or explanation as to why this isn't working. I really want to get my flight wings.

    Thanks so much!

    Jan
    Attached Files Attached Files

  2. #2
    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: Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Tab

    Hi Jan

    What's the Password for Data Sheet?

    Never mind...found it in the Code...
    Last edited by jaslake; 10-20-2013 at 03:03 PM.
    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.

  3. #3
    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: Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Tab

    Hi Jan

    Place this Code in a General Module and assign the Code to your Buttons as indicated
    Please Login or Register  to view this content.
    Place this Code in Sheet Review Module
    Please Login or Register  to view this content.
    Notice I've changed your Formulas in Sheet Data Columns K, L, M and N to eliminate the VLookUps. The Code appears to run much quicker with this change and to do as you described...let me know of issues.

  4. #4
    Registered User
    Join Date
    08-28-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010, 2013
    Posts
    69

    Re: Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Tab

    Good Morning, or afternoon, jaslake

    I think I missed something with the changes made in data columns. I don't see a workbook attached to review it. I applied the codes, and it doesn't seem to reflect the changes made to the data columns;

    "Notice I've changed your Formulas in Sheet Data Columns K, L, M and N to eliminate the VLookUps. The Code appears to run much quicker with this change and to do as you described...let me know of issues."

    Did I miss something?

    I'm fumbling through the code right now. Thanks so much!

  5. #5
    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: Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Tab

    Hi Jan

    Sorry about that...thought I attached the File...
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-28-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010, 2013
    Posts
    69

    Re: Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Tab

    Hi Jaslake,

    I used the spreadsheet provided and it works fabulously! Thanks so much! Is there a code I can add that will remove the records from the "Review" tab once they're transfered to the "Data" tab?

    Thanks!

    Jan

  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: Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Tab

    Hi Jan

    Add the two lines of Code as indicated
    Please Login or Register  to view this content.

+ 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. Replies: 2
    Last Post: 08-27-2013, 05:01 PM
  2. Macros to move multiple rows of data for same unique identifier into one.
    By TPMIS in forum Excel Programming / VBA / Macros
    Replies: 31
    Last Post: 07-05-2013, 03:14 PM
  3. [SOLVED] Need Macro to move multiple rows into a single row for each 'Record ID'
    By jonathanseah.87 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-05-2012, 10:21 AM
  4. Macros to move multiple rows to one row.
    By trangie in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-16-2011, 02:39 PM
  5. Macro/VBA to move rows to another sheet
    By Pat Parker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2010, 12:37 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