+ Reply to Thread
Results 1 to 13 of 13

Auto Extraction of Data

  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    20

    Auto Extraction of Data

    Thanks for the help Ravi, I just wanted to ask whether the same code will work for many more sheets or will modification be needed? I have a very basic understanding of vba loops, so plz tell me did you check the entire row for being blank or specific cells? Im attaching a file which more closely resembles the data i work with, just tell me whether the previous macro called "ravi" will work fine or will it require modification.

    If yes then look into it. Thanks for your kindness.
    Offeror
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-02-2010
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Auto Extraction of Data

    Hey, guys help out plz thanks

  3. #3
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    Re: Auto Extraction of Data

    Your post appears to refer to a previous post, but there is no information here to help me to help you. If you could put some more information as to what the problem is, you may get some help

  4. #4
    Registered User
    Join Date
    02-02-2010
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Auto Extraction of Data

    Ok, there is a workbook containing around 70+ worksheets, each sheet representing a single employee. Each sheet contains a table for a month say january so there are 31 rows for each day. At the end of the day i have to prepare a report of employee names whose sheets remained blank for that particular day. The attachment file in previous post called secondtest contains a sample sheet.

    A friend here called Ravi made a macro for me,its called ravi, and it is in this file. This is almost the thing i want with some modifications. I want the resulting report to be created automatically in a particular workbook.

    And i want just one specific cell in the row to be the criteria of being blank. because the row contains names of days as well. Check the file and the macro he created and you will get the idea. Thanks

  5. #5
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Re: Auto Extraction of Data

    There is no macro in the attached file.

    Regards,
    Karan

  6. #6
    Registered User
    Join Date
    02-02-2010
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Auto Extraction of Data

    Very sorry for that. Here is the file this time.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-02-2010
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Auto Extraction of Data

    Come on guys, help out thanks.

  8. #8
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Re: Auto Extraction of Data

    The macro is just fine for your requirement. It will return the names of all those employees whose sheet has no data pertaining to that date (from the C to Z columns). And, it will check all the sheets because it has a For Loop from 1 to the total number of sheets, i.e. this line:

    Please Login or Register  to view this content.

    Let me know if you need any more help.

    Regards,
    Karan

  9. #9
    Registered User
    Join Date
    02-02-2010
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Auto Extraction of Data

    I've tried this files macro for some other dates. I put in some numbers randomly for some other dates and tried to generate report for those dates, but the result was empty. Check out the file. Thanks

  10. #10
    Registered User
    Join Date
    02-02-2010
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Auto Extraction of Data

    Actually, i've tried this again, and also i've now understood the meaning of the code so now im a better position to modify for my needs. Thanks a lot, ravi, and karan and all those who were kind enough to have a look and provide their expert opinion.

    The code is working all right, i will test it with the actual files i work with and then i'll tell you the result. Hopefully it should work fine. Just one thing, the current code does the trick in the summary worksheet, is it possible that it does it in a workbook i specify. I know vba can do it. Just give me the code for getting it to do it in a new workbook.

    One more thing, the macro should be such that it will generate report in the same workbook everytime in a way, that the report generated last time remains preserved, and the new report starts where the old one ended.

    Thanks.
    Last edited by Offeror; 02-07-2010 at 06:14 AM.

  11. #11
    Registered User
    Join Date
    02-02-2010
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Auto Extraction of Data

    Hey there,

    Guys help out with this prob. Im stuck with it. Thanks.

  12. #12
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Re: Auto Extraction of Data

    Code for specifying the Workbook name:

    Please Login or Register  to view this content.

  13. #13
    Registered User
    Join Date
    02-02-2010
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Auto Extraction of Data

    Thanks a lot to Ravi and Karan both of you, and others who were kind enough to have a look at my problem and gave their valued advice. Really cool stuff, thanks a lot.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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