+ Reply to Thread
Results 1 to 26 of 26

How to Print (all) Student Reports - Currently 400 manually

  1. #1
    Registered User
    Join Date
    05-20-2019
    Location
    Jeddah, Saudi-Arabia
    MS-Off Ver
    2019
    Posts
    9

    Question How to Print (all) Student Reports - Currently 400 manually

    Help Truly appreciated!

    Currently have a large grade spreadsheet set up, main tab is the template with graphs and formatting, etc.
    Second tab has all data, including student numbers.

    In order to print, in the main tab that has the template, I have to type in the student number manually (6 digits) and then print, and repeat that 400 times (every month!).

    I would love for Excel to somehow allow me to print all 400 records in one go.

    I don't know anything about VB and Macros, I fear the learning curve of coding is too steep and too time consuming...


  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to Print (all) Student Reports - Currently 400 manually

    Could you attached you file, please? Of course replace students data with some 'fake' data (5-10 records should be enough).
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    05-20-2019
    Location
    Jeddah, Saudi-Arabia
    MS-Off Ver
    2019
    Posts
    9

    Question Re: How to Print (all) Student Reports - Currently 400 manually

    Much appreciated, I have attached my the Excel file, really hope someone can help.
    Attached Files Attached Files

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: How to Print (all) Student Reports - Currently 400 manually

    I would guess Mail Merge from MsWord would be a possibility . We have some Word Guru's around

  5. #5
    Registered User
    Join Date
    05-20-2019
    Location
    Jeddah, Saudi-Arabia
    MS-Off Ver
    2019
    Posts
    9

    Re: How to Print (all) Student Reports - Currently 400 manually

    The main report page in excel has been made really well (to my humble opinion) with graphs pulling individual score based upon student number, don't think Word could produce that. And it would mean making the report page from scratch, but again, I'm pretty sure Word can't do it.

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: How to Print (all) Student Reports - Currently 400 manually

    Let's see what Paul thinks...

  7. #7
    Registered User
    Join Date
    05-20-2019
    Location
    Jeddah, Saudi-Arabia
    MS-Off Ver
    2019
    Posts
    9

    Re: How to Print (all) Student Reports - Currently 400 manually

    Would be great with a regular excel function, VBA/Macros sound a bit too advanced for something I can imagine many would want

  8. #8
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to Print (all) Student Reports - Currently 400 manually

    This should do the job:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: How to Print (all) Student Reports - Currently 400 manually

    Was beaten to it, you can even add the above code to a button on the report sheet and you just need to press it

  10. #10
    Registered User
    Join Date
    05-20-2019
    Location
    Jeddah, Saudi-Arabia
    MS-Off Ver
    2019
    Posts
    9

    Re: How to Print (all) Student Reports - Currently 400 manually

    Really appreciate you taking the time.

    Probably a n00b Q (and I thought I was fairly decent with Excel), but where do I do this? Is this a Visual Basic/MAcro thing?

  11. #11
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: How to Print (all) Student Reports - Currently 400 manually

    Hopefully this is still close in office 2019

    https://www.ablebits.com/office-addi...a-macro-excel/

  12. #12
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to Print (all) Student Reports - Currently 400 manually

    I've put button for printing.
    Check attached file.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    05-20-2019
    Location
    Jeddah, Saudi-Arabia
    MS-Off Ver
    2019
    Posts
    9

    Re: How to Print (all) Student Reports - Currently 400 manually

    I was actually able to copy/past your formula into VBA, using the tutorial that davsth used.

    Once I ran the macro (guess same with the button), the computer started printing like crazy, lol

    Problem is, the student report is made of two pages, and I always print front and back. And I would love to print as a PDF if possible.

    PDF is a huge bonus, but not a must, but the two pages would be amazing. If not, then I do think it's still ok.

  14. #14
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to Print (all) Student Reports - Currently 400 manually

    Starts printing as crazy because you start printing report for all 222 students
    As 'print as a PDF' you mean you want to save separately report for each student as PDF, right?

  15. #15
    Registered User
    Join Date
    05-20-2019
    Location
    Jeddah, Saudi-Arabia
    MS-Off Ver
    2019
    Posts
    9

    Re: How to Print (all) Student Reports - Currently 400 manually

    Haha,

    Yup, went ape-nuts, but that's what we wanted

    TBH would prefer that all reports were saved into one pdf file, but perhaps that's a difficult one.

    How about printing double sided? Perhaps I must set that as a standard first, and then the macro will follow that standard setting? I'm afraid to try anything and press that magic button though, lol

  16. #16
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to Print (all) Student Reports - Currently 400 manually

    Generate separate file for each student. Filenames are as numbers of student.

    Please Login or Register  to view this content.
    BE CAREFUL it starts generates 222 files

    Check attached file as I did not paste macro for PDF creation here.
    Attached Files Attached Files

  17. #17
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,302

    Re: How to Print (all) Student Reports - Currently 400 manually

    I really must wake up earlier, others solve the problem while I am still thinking.
    however as I spent time I might as well submit my version.
    It looks for a drive to save to (USB ??) all individual pdf's.
    Prints at the same time, have plenty of paper
    torachan.
    Attached Files Attached Files

  18. #18
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to Print (all) Student Reports - Currently 400 manually

    Quote Originally Posted by torachan View Post
    Prints at the same time, have plenty of paper
    Check these lines:

    Please Login or Register  to view this content.
    First running macro to save PDFs
    Second printing but second is commented sign ' at start and it treated by macro as comment so only PDF saving works.

  19. #19
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to Print (all) Student Reports - Currently 400 manually

    I don't see any of my macro inside your file.
    There are few total different macros inside, so I don't why they do not work as intended.

  20. #20
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,302

    Re: How to Print (all) Student Reports - Currently 400 manually

    Hi KOKOSEK,
    There are none of your macros in my submission.
    It's approach is different to yours and probably not as elegant, I had started so I finished.
    Totally up to the OP how he goes forward, these are guides that he can expand upon as time savers.
    torachan.

  21. #21
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to Print (all) Student Reports - Currently 400 manually

    There is no better or worse solution until it gives correct results.

  22. #22
    Registered User
    Join Date
    05-20-2019
    Location
    Jeddah, Saudi-Arabia
    MS-Off Ver
    2019
    Posts
    9

    Unhappy Re: How to Print (all) Student Reports - Currently 400 manually

    Really appreciate the work guys!

    I like the idea of printing to PDF (on a USB drive), tested and worked great.

    Even though it printed at the same time.

    Is it possible to have two buttons, one to print PDFs to USB drive, and one to print to the printer? (Hope I'm not asking for two much here... )

    I have also worked on my sheet the past couple of days, making it simpler and removing tabs. When I did, it could no longer print (as it referred to a tab no longer there), I changed the tab referrence, but it still doesn't work...

    Feel like an idiot here...
    Attached Files Attached Files

  23. #23
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: How to Print (all) Student Reports - Currently 400 manually

    Quote Originally Posted by Zubayr View Post
    Is it possible to have two buttons, one to print PDFs to USB drive, and one to print to the printer? (Hope I'm not asking for two much here... )
    Check attached file, two buttons.
    Attached Files Attached Files

  24. #24
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,302

    Re: How to Print (all) Student Reports - Currently 400 manually

    @ Zubayr, you are a naughty boy, moving everything around causes confusion.
    The separate save button does save, however parts of your report do not update as you have not completed the referencing.
    I think it would be better for you to finalise your design first.
    Then add the print and save procedures.
    torachan.
    Attached Files Attached Files

  25. #25
    Registered User
    Join Date
    05-20-2019
    Location
    Jeddah, Saudi-Arabia
    MS-Off Ver
    2019
    Posts
    9

    Re: How to Print (all) Student Reports - Currently 400 manually

    KOKOSEK

    Print button works great!

    But the PDF button produces an error code (Screenshooted)
    Attached Images Attached Images

  26. #26
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,302

    Re: How to Print (all) Student Reports - Currently 400 manually

    This works for me.
    To test I have set the default path to J: (one of my USB ports). (alter to suit your port.)
    If you are saving to C: a destination folder must exist or you need to create one on the fly.

    Please Login or Register  to view this content.

+ 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. [SOLVED] Batch Print\Save PDF summary report for student assessment
    By TPC in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-26-2015, 06:44 AM
  2. Replies: 1
    Last Post: 02-06-2014, 08:07 AM
  3. [SOLVED] Automate and Print Reports through VBA
    By waleed# in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2013, 07:46 AM
  4. [SOLVED] Events triggered with print/print preview of reports
    By jik_ff in forum Access Tables & Databases
    Replies: 1
    Last Post: 01-11-2013, 06:00 PM
  5. Print multiple reports for different posts
    By Zheno in forum Access Programming / VBA / Macros
    Replies: 2
    Last Post: 11-26-2012, 02:20 PM
  6. Creating individual student reports
    By c1987 in forum Excel General
    Replies: 5
    Last Post: 05-15-2012, 12:47 PM
  7. Replies: 1
    Last Post: 09-14-2005, 05:03 PM

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