+ Reply to Thread
Results 1 to 4 of 4

Create Macro to copy X marked lines in 39 other Sheets to the First Sheet by order

  1. #1
    Registered User
    Join Date
    11-25-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    3

    Create Macro to copy X marked lines in 39 other Sheets to the First Sheet by order

    Even though I know how to use excel to some extent, programming surpasses my capabilities. And that includes Macro creation .

    All I want to do is have an excel file with 40 Spreadsheets, being that 39 of them are for apartments faults, and the first one is for a resume of all the faults still occurring in all the apartments.

    So my idea was to have a column dedicated in each of the apartment Spreadsheets to be assign with an X, and then a macro on the first one that would check all of them and copy by order from all X marked Lines to the first one with all the information.

    I hope this is possible to do, please give me a hand here .

    Thank you in advance

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Create Macro to copy X marked lines in 39 other Sheets to the First Sheet by order

    Can you upload an example workbook?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    PS Doesn't need to be for all 49 apartments, just enough for us to get the idea.
    Last edited by Norie; 11-25-2014 at 05:49 PM.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    11-25-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    3

    Re: Create Macro to copy X marked lines in 39 other Sheets to the First Sheet by order

    Fault Report Test.xlsx

    So basically I have put a few lines in apartments 2.01 / 2.02 / 2.03 / 2.04 for this test, all I want is the lines to be copied while the X is in the first column, to the Unresolved Spread sheet, by order of apartment number (so 2.01 first, 2.02 second, and so on).

    Thank you for your help

    EDIT: I updated the spreadsheet to its final version, if this helps, even though there are no lines filled in

    Fault Report Test 2.xlsx
    Last edited by Awaklin; 11-25-2014 at 06:34 PM.

  4. #4
    Registered User
    Join Date
    11-25-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    3

    Re: Create Macro to copy X marked lines in 39 other Sheets to the First Sheet by order

    I forgot something, can the macro update button delete everything in the first sheet and update it from all the other spreadsheets every time?? As this is going to be updated on a daily basis, it is better to avoid duplicates, and keep the unresolved fault spreadsheet up to date with no copies or duplicates.

    Thank you very much for your help

+ 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. Copy Data form other Sheets to Master if marked as Active
    By A_TSC in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-06-2013, 02:44 PM
  2. Macro which will copy rows of data, in same order from one sheet, to another sheet!
    By WaylettChris in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-23-2013, 02:02 PM
  3. Copy marked rows to new sheet
    By lennoxem in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-28-2011, 11:02 AM
  4. [SOLVED] Create copy of sheet using VB with columns in different order
    By Bryan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2005, 12:06 AM

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