+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Looking for way to automatically move finished data

  1. #1
    Registered User
    Join Date
    03-28-2010
    Location
    South Carolina
    MS-Off Ver
    Excel 2007
    Posts
    1

    Looking for way to automatically move finished data

    I am looking for a macro or some way to make moving data automatic. I have a spreadsheet with data rows which are active (being used). Periodically, rows are complete and could be taken off the sheet so that they don't clutter the information. I would like to have a way to indicate for a particular row that it is "complete," and I'd like for that completing action to cause the row to move to another sheet for storage. I am very weak in terms of my excel skills, so I'd need pretty specific directions. The data in my spreadsheet is very basic, just descriptive.

    thanks.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Looking for way to automatically move finished data

    A macro is the easiest way to do it, at least for me.

    1) Pick a new column, let's say "M" and we'll make that the "status" column.

    2) Create a data validation list active in that column with your status options. You could just type the statuses in, but it's more prone to typos.

    3) Then setup an archive sheet. Let's called it Completed.

    4) Then on your activity sheet, right-click on the sheet tab and select VIEW CODE

    5) Paste in this sheet-event macro which will watch column "M" for you to enter Complete in any cell in that column
    Please Login or Register  to view this content.

    6) Close the editor and save your workbook as macro-enabled

    That should do it. Anytime you put "complete" or "completed" or any word starting with "compl" in column M, it will move to the Completed worksheet.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Looking for way to automatically move finished data

    You could have a helper column to contain say "C" for complete, then autofilter to hide these rows
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Looking for way to automatically move finished data

    Even though you asked for a macro, I think I'm with Roy....Autofilter in place is much cleaner, isn't it?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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