+ Reply to Thread
Results 1 to 9 of 9

Move Rows to different Sheets based on Cell value(s) with Multiple Buttons

  1. #1
    Registered User
    Join Date
    10-26-2019
    Location
    Enfield, CT
    MS-Off Ver
    Office 365
    Posts
    18

    Move Rows to different Sheets based on Cell value(s) with Multiple Buttons

    This is driving me crazy. I can't seem to figure it out and get it working properly. PLEASE HELP! lol

    Please see the attached file. I need to send different rows in the table to different sheets in the file based on a cell value of TRUE or FALSE in helper cells. I am also using multiple vlookup values and I really need the rows moved over as a value instead of the formula.

    "Goalpost" is the main sheet. Everything is entered there. The formulas there say whether or not the material is in overflow, needs to be sent to purchasing or is marked as an expedite.

    Resupply is "TRUE" in column = U
    Purchasing = T
    Expedite = G

    Shapes on the top of the workbook will be marco buttons for each process.

    Any help?
    Attached Files Attached Files
    Last edited by SeventySix; 10-31-2019 at 04:25 PM.

  2. #2
    Registered User
    Join Date
    10-26-2019
    Location
    Enfield, CT
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Move Rows to different Sheets based on Cell value(s) with Multiple Buttons

    I have 1 button working with a macro to copy based on 1 criteria in the file above, but whenever I copy, update the code and assign it to the different buttons nothing happens. No errors. What am I doing wrong?

    Not looking for someone to do it for me, I just need someone to point me in the right direction please.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,806

    Re: Move Rows to different Sheets based on Cell value(s) with Multiple Buttons

    Welcome to the forum.

    Please be patient - we don't expect threads to be bumped unless 24 hours have passed. I am sure that you realise that the volunteers here are all over the globe - I'm in the UK, so was fast asleep when you posted in the early hours of my morning.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Move Rows to different Sheets based on Cell value(s) with Multiple Buttons

    I created three macros for the buttons and one generic macro. I also changed the formula for column G to not use the literal "TRUE" but rather the boolean value. I also copied the headers from the Goalpost sheet to the other sheets. Here's the macros I created:

    Please Login or Register  to view this content.
    And I've attached the adapted workbook; hopefully that points you in the right direction. Your original upload had external links so you may need to restore them.

    WBD
    Attached Files Attached Files
    Office 365 on Windows 11, looking for rep!

  5. #5
    Registered User
    Join Date
    10-26-2019
    Location
    Enfield, CT
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Move Rows to different Sheets based on Cell value(s) with Multiple Buttons

    Thank you so much.

    What would be the best way to have an option button in the material userform to override a formula in column G and set that column in the row to TRUE? I would like the user to be able to click it and have that card set to expedite.


    Private Sub OptionButton1_Click()


    End Sub

  6. #6
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Move Rows to different Sheets based on Cell value(s) with Multiple Buttons

    Using an option button would be tricky as you'd have to create a new one every time you added a row. If you want the user to be able to set this then you could toggle the value using the double click event in the column perhaps. See attached.

    WBD
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-26-2019
    Location
    Enfield, CT
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Move Rows to different Sheets based on Cell value(s) with Multiple Buttons

    That'll work. Thank you so much.

  8. #8
    Registered User
    Join Date
    10-26-2019
    Location
    Enfield, CT
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Move Rows to different Sheets based on Cell value(s) with Multiple Buttons

    The solution doesn't seem to be working for new entries. If I add lines the double click option is not available?

  9. #9
    Registered User
    Join Date
    10-26-2019
    Location
    Enfield, CT
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Move Rows to different Sheets based on Cell value(s) with Multiple Buttons

    Figured it out

+ 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: 5
    Last Post: 04-08-2019, 11:33 AM
  2. Move rows between sheets based on cell criteria
    By CarolineKRW in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-21-2017, 09:53 AM
  3. HIDE/UNHIDE Rows based on cell value in multiple sheets.
    By yatin1964 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2015, 12:29 AM
  4. Replies: 2
    Last Post: 01-12-2015, 02:27 AM
  5. delete entire rows based on cell value in multiple sheets
    By forquaidian in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-22-2014, 05:31 AM
  6. move rows to new sheet based on text and date in multiple sheets
    By myjebay1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-06-2014, 02:39 PM
  7. [SOLVED] Move from multiple rows to one row (two sheets)
    By Kidcarlosuk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-23-2012, 12:27 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