+ Reply to Thread
Results 1 to 54 of 54

Create Daily Report From Master Tracker.

  1. #1
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Create Daily Report From Master Tracker.

    Hello experts...

    Good evening to all of you, and here i am looking for how Create Daily Report from Master Tracker at End of the Day. Hmm As of now i am having 3 major sheets for different Clients. At present i am doing it manually like coping all data and paste to other sheet, meantime it takes lot of time to create a report. Instead of that what i am looking that daily report will generate automatically with current date datum. I am having 3 major client as i mentioned above. Are there any possibility to create a daily report with current date data. i not good enough sounded in VBA or in programming. Please help with this if you excellent people can do it...

    For your reference, please find the attached file.
    Attached Files Attached Files
    Last edited by marc5354; 06-16-2010 at 12:40 PM.

  2. #2
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    Please help me..

    ...Marc

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

    Re: How to Create Daily Report From Master Tracker.

    I don't see your sample results.
    _________________
    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!)

  4. #4
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    Hello Jerry Beaucaire,

    Good Afternoon, as above i have attached master tracker, which includes 3 major Sheet(s) i.e. Option1, FnasT & FTS. in summary sheet i have added 2 command button(s) as Daily Report and Monthly Report. So now whenever i click on that button it must generate the daily report or monthly report, according to user's wish.

    Jerry Beaucaire, i dont know how to code the program for this thing.

    Find attached file for your reference.

    password is edit
    ...Marc
    Attached Files Attached Files

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

    Re: How to Create Daily Report From Master Tracker.

    I wasn't looking for a code. I just can't picture what you're asking help doing.

  6. #6
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    Shall we go to step by step JB.

    ...Marc

  7. #7
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    hmm JB.,

    Actually my master tracker contains lot of data, it contains more than 3 months data in each major client sheet, for example we took only one client like FnasT, this sheet contains data's starting period to till date. every end of the day i want to send a current date MIS report to our respective client(s). what number of files we have received and completed file(s). Now what i am doing, first i filtered current date data then copy and paste it in new workbook. so it takes lot time to do it. instead of doing this simply when i just click on daily report button, it automatically filtered the current date data and create a new workbook with client name. so this would be more helpful for me to save my time.

    marc.

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

    Re: How to Create Daily Report From Master Tracker.

    You've already got buttons with AutoFilter code in them, so you should have an idea now of how your code should look.

    Even if you don't, turn on the macro recorder and let it record you doing your whole process one time to filter the sheets and save the data off. That code will get you over half the way there and give us somewhere further along to start.

  9. #9
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    hmm i don't know how to record macro

  10. #10
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    JB..,

    I don't know how to run the macro or code the further line..

    Please help me..

    marc

  11. #11
    Forum Contributor trucker10's Avatar
    Join Date
    07-22-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003 / 2007 / 2010 prof +
    Posts
    149

    Re: How to Create Daily Report From Master Tracker.

    Quote Originally Posted by marc5354 View Post
    I don't know how to run the macro or code the further line..
    marc
    ?? time Macro
    ' Macro recorded 03/03/2010 by MIS (Moses Anderson) ??
    Ask it at Mr Moses Anderson for run the macro

  12. #12
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    Hello trucker10..

    i am not looking for time Macro, Please read my query sir.

    Marc
    Last edited by marc5354; 06-09-2010 at 06:18 PM.

  13. #13
    Forum Contributor trucker10's Avatar
    Join Date
    07-22-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003 / 2007 / 2010 prof +
    Posts
    149

    Re: How to Create Daily Report From Master Tracker.

    There are macros in your workbook recorded by Mr moses Anderson . He can not help you ?

  14. #14
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    no, can you please help me with macro???

    Marc

  15. #15
    Forum Contributor trucker10's Avatar
    Join Date
    07-22-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003 / 2007 / 2010 prof +
    Posts
    149

    Re: How to Create Daily Report From Master Tracker.

    The macro code is protected, and that has a reason. what is the password ?

  16. #16
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    password is--------
    Last edited by marc5354; 06-10-2010 at 08:05 AM.

  17. #17
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    Hello JerryB,

    Please find the attached file, so that you can find the issue that what i am looking for exactly. i added 3 buttons in report sheet, but i don't know how to activate the click action, please help.

    Note: if i click on the Option1 report button, w/ particular date range that will create a new spreadsheet w/ that particular date range. as well with others too.

    ...Marc
    Attached Files Attached Files

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

    Re: How to Create Daily Report From Master Tracker.

    A report based on dates in which column?

  19. #19
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: How to Create Daily Report From Master Tracker.

    Thank you JB.,

    for an example, In Option1 spread sheet i want these all things in new workbook, Sr. # , Order #, Received Date & Time, Completed Date & time, TAT And Processor(s) Name
    Last edited by marc5354; 06-14-2010 at 01:13 PM.

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

    Re: Create Daily Report From Master Tracker.

    See prior question.

  21. #21
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Yes, JB.,

    I just messed w/ my queries,

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

    Re: How to Create Daily Report From Master Tracker.

    Quote Originally Posted by JBeaucaire View Post
    A report based on dates in which column?
    This is the info needed.

  23. #23
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Hello Jb.,

    C8

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

    Re: Create Daily Report From Master Tracker.

    This macro will do the OPTIONS1 for you. Just create the other versions for the other buttons and date range cells.
    Please Login or Register  to view this content.

  25. #25
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Thank you JB.,

    I added above given code in our workbook, but it shows run time error 1004.

    marc
    Attached Files Attached Files

  26. #26
    Forum Contributor trucker10's Avatar
    Join Date
    07-22-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003 / 2007 / 2010 prof +
    Posts
    149

    Re: Create Daily Report From Master Tracker.

    marc , assign the macro
    Attached Images Attached Images

  27. #27
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Hello trucker10

    I did it, but still i m facing same problem,

  28. #28
    Forum Contributor trucker10's Avatar
    Join Date
    07-22-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003 / 2007 / 2010 prof +
    Posts
    149

    Re: Create Daily Report From Master Tracker.

    I see the code twice , 1 in a module and the other in sheet(7)
    I tested in 2007 and excel 2010 and get no error .
    remove the password of your VBEditor for more help

  29. #29
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Hello trucker10,

    Now i removed the password, please check where we need to change the code and revise it. Thank you very much for your time and help.

    Marc
    Attached Files Attached Files

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

    Re: Create Daily Report From Master Tracker.

    Marco, you have to be able to handle the most basic of functions...seriously (stern voice).

    1) Open the VBEditor
    2) Insert a new empty module (Insert > Module)
    3) Paste in the code (change the name of the macro to something like Options1Report
    4) Close the VBEditor
    5) Right-click your Option1 Report button and select ASSIGN MACRO
    6) Choose the macro from the list and click OK.

  31. #31
    Forum Contributor trucker10's Avatar
    Join Date
    07-22-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003 / 2007 / 2010 prof +
    Posts
    149

    Re: Create Daily Report From Master Tracker.

    I have no problem with the password , hex editor " DPB " and go . Now sleep within 5 hours drive with the truck

  32. #32
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Thank you JB,

    I did the as you mentioned above, but i didn't see the report for Option1, FnasT & FTS. And i added above given code in all 3 new module(s).

    Marc
    Attached Files Attached Files

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

    Re: Create Daily Report From Master Tracker.

    Marco, you have to be able to handle the most basic of functions...seriously (stern voice continues...)

    1) Open the VBEditor
    2) Insert a new empty module (Insert > Module)
    3) Paste in the code (change the name of the macro to something like Options1Report <<<<<<<<<<<<<<<<<<
    4) Close the VBEditor
    5) Right-click your Option1 Report button and select ASSIGN MACRO <<<<<<<<<<<<<<<<<<
    6) Choose the macro from the list and click OK. <<<<<<<<<<<<<<<<<<


    I've marked the things you DIDN'T do in the uploaded sheet. Button1_Click is a bad name for a macro, fix it. Then attach the macro to your button if you EVER expect it to work by clicking the button.

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

    Re: Create Daily Report From Master Tracker.

    It also appears you haven't changed the savePath, so you'll need to look in "C:\2010\" for your new files.

    And the uploaded file has settings 6/14-6/14 with no matching data...so no workbooks would be created.
    Last edited by JBeaucaire; 06-14-2010 at 07:04 PM.

  35. #35
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Yes JB,

    i have changed it, but still it cant generate the report. Let me know is code is perfect or not.

    Marc
    Attached Files Attached Files
    Last edited by marc5354; 06-14-2010 at 07:12 PM.

  36. #36
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Hello Jb,

    Now everything is working like anything, Thank you very much... When generate the report for the month of 06/01/2010 to 06/14/2010, it gave the May 28th data too.. rest of things are perfect JB..

    Thank you very much

    Marc

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

    Re: Create Daily Report From Master Tracker.

    When I ran the exact report you uploaded in post #35 for dates 6/1-6/14, i got this, no May 28.

    Looks like it's good to go.
    =============

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.
    Attached Files Attached Files

  38. #38
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Hello Jerry,

    Good Morning, Jerry when i applied the code given by you i added into the required module, When i click on Option1 button with date range 06/01 to 06/14, it gave me the same report including month of May data. And FIDELITY AND FTS are not working or they didn't generate the report for particular date. though it doesn't give me the any error.

    Please find attached file.

    Marc

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

    Re: Create Daily Report From Master Tracker.

    You do need to fully edit the macro for each version you create. The OPTIONS1 macro is looking at cells D3 and F3 for the dates. The next version for FNAS would need to search D4 and F4, right? You edited that, too, yes?
    Please Login or Register  to view this content.

  40. #40
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Yes JB.,

    I have edited that, When i generate the report for the month of 06/01/2010 to 06/14/2010, it gave me the last month record too.. rest of things are perfect.

    ...Marc

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

    Re: Create Daily Report From Master Tracker.

    Let's see your code. When I run it, I only get two lines of 6/4/2010.

  42. #42
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Can you please send me your attachement.

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

    Re: Create Daily Report From Master Tracker.

    Quote Originally Posted by JBeaucaire View Post
    Let's see your code. When I run it, I only get two lines of 6/4/2010.
    Let's see it.

  44. #44
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Good afternoon Jerry,

    I reviewed the code, finally i found that FTS button is working properly rest of Option1 and Fnas aren't working accordinly.

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

    Re: Create Daily Report From Master Tracker.

    OK, keep at it. The code is correct, the only issue now is your edits for each separate macro.

  46. #46
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    yeah, now i am also lookin on it...

  47. #47
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Jerry,

    I don't understand whats wrong on it, when edited the given code, coz when entered the date as 06/04/2010 to 06/04/2010 it gave me a perfect report. when i entered the other date like 06/07/2010 to 06/08/2010, its also giving me the same result as from 06/04/2010 to 06/08/2010. ahhh... GOD

    ...Marc

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

    Re: Create Daily Report From Master Tracker.

    Um, unless you're DELETING the sheet created by the first successful export... when you enter a range of dates that results in NO RESULTS, it is not writing out an empty workbook, it just exits. So you're looking at the file that was already on the hard drive. Hehe.

  49. #49
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Yep Jerryb.,

    i know that, i deleted all data sheet from C:\2010 then also tried to generate a report with particular date range. but i can't..

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

    Re: Create Daily Report From Master Tracker.

    Try adding this:
    Please Login or Register  to view this content.

    Running Autofilter code over and over again in succession and stopping in the middle sometimes leaves your sheets in odd states. This may help a little.

  51. #51
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Good Evening Jerry,

    Thank you very much for your time and keep help me in my each every step like my teacher. i don't have words. But still its not working... I think this is what my destiny at al..

    Thank you
    ...Marc

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

    Re: Create Daily Report From Master Tracker.

    This is the macro exactly like I've presented and it seems to work. You getting different results is a serious concern.
    Attached Files Attached Files

  53. #53
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: Create Daily Report From Master Tracker.

    Yes Jb..

    Even i don't understand that why i m getting different result.. But you did a great job for me.. Thank you very much.

    Marc.

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

    Re: Create Daily Report From Master Tracker.

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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