+ Reply to Thread
Results 1 to 10 of 10

Move Data from one tab to another in same worksheet

  1. #1
    Registered User
    Join Date
    05-23-2019
    Location
    Connecticut, USA
    MS-Off Ver
    Excel 2016
    Posts
    5

    Move Data from one tab to another in same worksheet

    Greetings and thanks in advance for any assistance.

    I have a SS that we track RMA's on. I'd like to be able to have a VBA script that would, upon changing the "Status" column to "Complete", would move from this "Main" Tab to a "Complete" tab, AND removing from the original automatically.

    In this case, the Status column is column "O"

    Thanks.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Move Data from one tab to another in same worksheet

    Have you tried using the Data Advanced Filtering functionlity

    Upload the workbook and manually add some expected results if you need some additional help.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,243

    Re: Move Data from one tab to another in same worksheet

    Hi Dan

    Similar thread here...
    Will give you an idea...
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  4. #4
    Registered User
    Join Date
    05-23-2019
    Location
    Connecticut, USA
    MS-Off Ver
    Excel 2016
    Posts
    5

    Re: Move Data from one tab to another in same worksheet

    Quote Originally Posted by Richard Buttrey View Post
    Have you tried using the Data Advanced Filtering functionlity

    Upload the workbook and manually add some expected results if you need some additional help.
    Thank you mate! I've never used DAF. I'm only now just starting my jaunt with VBA as I never had the need. But, necessity is the mother of invention, right?

    Where / how would I upload the sheet?

    I have found some scripts that would do partial parts of what I need. They would move the data but perhaps not all of it. The entire row would be fine. But, seemed the catch was always to delete the original line from the source tab.

    Thanks!

  5. #5
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,243

    Re: Move Data from one tab to another in same worksheet

    My bad...Post 3 not similar...

    To attach a file, under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window.

  6. #6
    Registered User
    Join Date
    05-23-2019
    Location
    Connecticut, USA
    MS-Off Ver
    Excel 2016
    Posts
    5

    Re: Move Data from one tab to another in same worksheet

    The two tabs I'd like to work with are "Main" and "Complete". There's also a "Data" one but that's just a source for data for pull down's in "Main".

    So when the condition of "Complete" is met of column "O" (Status), I'd like the script to move the entire row to the "Complete" tab, AND remove it from "Main".

    And, as new items are completed, I'd like them to be added to the Complete tab so, don't replace stuff, just append.

    Many thanks!

    Dan
    Attached Files Attached Files

  7. #7
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,243

    Re: Move Data from one tab to another in same worksheet

    Is actually almost exactly same as the other thread I referenced...
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    05-23-2019
    Location
    Connecticut, USA
    MS-Off Ver
    Excel 2016
    Posts
    5

    Re: Move Data from one tab to another in same worksheet

    Sintek, thank you!!

    You've gotten me 99.99% of the way there. Only problem is it appears that the data moved to "Completed" didn't start with column A from "Main". Some stuff is missing (IE Date) and items are sku'd one column over.

    Dan

  9. #9
    Registered User
    Join Date
    05-23-2019
    Location
    Connecticut, USA
    MS-Off Ver
    Excel 2016
    Posts
    5

    Re: Move Data from one tab to another in same worksheet

    Actually this worked!!
    I must have been on a starting column other than A.

    Much appreciated!

  10. #10
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,243

    Re: Move Data from one tab to another in same worksheet

    Glad I could help...If this answers your initial query, please mark thread as solved...

+ 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. Updating worksheet and move data to another worksheet
    By MrChiss in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-15-2015, 09:49 AM
  2. [SOLVED] Macro in excel to move a row of data from one worksheet to another worksheet
    By wmdowty in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-26-2013, 11:06 AM
  3. Need to move data that matches criteria in cell and move to new worksheet
    By panagle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2013, 09:23 AM
  4. Can I script to move data from a worksheet of tables/forms into 1 worksheet with 1 table
    By andybrown65 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2012, 02:35 PM
  5. Replies: 1
    Last Post: 02-14-2012, 07:00 AM
  6. How to move specific data from one worksheet to another worksheet
    By treeskin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2007, 02:59 AM
  7. How to move specific data from one worksheet to another worksheet
    By treeskin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2007, 08:53 AM

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