+ Reply to Thread
Results 1 to 25 of 25

certificate generator

  1. #1
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    certificate generator

    Hi all,
    I have seen youtube a video of a certificate generator but the website looks dodgy. "Make 1000 certificates for institute in one minute"

    Can anyone help me with the basic code for this please? Or point me in the right direction of getting started?
    I appreciate any help
    Bruce

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: certificate generator

    What is the URL of the website you viewed ? It would help to know some more specifics and hopefully the video would provide.

  3. #3
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    I'm not sure the links I'm using are posting.

    So, what I want to do is have my students on sheet one with the subjects they have completed represented by the completion date and sheet 2 a certificate. I want to automatically generate a certificate for all students and show "Geography" completed 11/12/2019 or whatever subjects they have completed. Ideally they will automatically save as a PDF and email to the student!

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: certificate generator

    .
    Here is code to create and save the certificates. Student names are listed on the Students Sheet.

    Please Login or Register  to view this content.


    Here is a link to everything you'll need for creating an email via VBA :
    https://www.rondebruin.nl/win/s1/outlook/mail.htm
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    I'll give it a go. thank you very much

  6. #6
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    Hi!
    I have had to eliminate these:

    Please Login or Register  to view this content.
    And it prints now.
    My VBA skills are barely beginner, please advise what this is now not doing.
    Many thanks
    Last edited by Pepe Le Mokko; 01-23-2020 at 03:53 AM.

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

    Re: certificate generator

    @Brucefan

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    I did it for you this time. Please read forum rules. Thanks

  8. #8
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    Also;
    I've messed around a little with it understandably, and now I have bugs at the beginnihng:
    Please Login or Register  to view this content.
    Why?! Thanks for all help
    Last edited by BruceFan; 01-25-2020 at 04:57 AM.

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

    Re: certificate generator

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

  10. #10
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    All code fixed into boxes now, thanks.

    I'd appreciate any help with getting this working.

  11. #11
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: certificate generator

    Please attach your workbook.

  12. #12
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    The code is exactly as earlier in post, just showing where I have got a bug after making the changes mentioned.
    Thank you for helping

  13. #13
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: certificate generator

    The code works here. That is why I wanted to review your workbook.

    Review your coding for spelling mistakes .... make certain the tab names are exactly the same as the names used in the code.

    It is usually the simple stuff that gets ya.

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

    Re: certificate generator

    @Brucefan
    Administrative note

    Still using XL2003 as indicated in your profile?
    If not,perhaps update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to? Members tailor answers based on your Excel version.
    Thanks

  15. #15
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    Thanks for any help to get this project working.
    Attached Files Attached Files
    Last edited by BruceFan; 01-26-2020 at 06:38 AM.

  16. #16
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: certificate generator

    As a starter.


    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  17. #17
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    Thank you for your help.
    I'm getting the error of variable not defined and "sn" is being highlighted.
    Are you able to please help me with that?

  18. #18
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: certificate generator

    Put this on top of the code.

    Please Login or Register  to view this content.
    I never use Option Explicit so I hardly ever declare my variables.

  19. #19
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    I removed option explicit! My skills are so poor I don't know what it means anyway.

    I have a bug on the line:
    Please Login or Register  to view this content.
    And i'm also told it has a print error. I actually don't want to print but rather save to PDF and email to students.

    I have this code:
    Please Login or Register  to view this content.
    It obviously doesn't work! But I use a mac at home and office at work so looking for both codes and to save into a file called Certificates on the desktop.

  20. #20
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: certificate generator

    This seems odd to me. Can you clarify.

    Please Login or Register  to view this content.

  21. #21
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    That is me trying to save the file as persons name in K11.

  22. #22
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: certificate generator

    Disregard.
    Last edited by Logit; 01-26-2020 at 01:14 PM.

  23. #23
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: certificate generator

    .
    The workbook functions with the elimination of TABLES.

    The attached is the basic workbook. Note that all TABLES have been removed.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  24. #24
    Registered User
    Join Date
    10-20-2016
    Location
    minassotta
    MS-Off Ver
    2019
    Posts
    14

    Re: certificate generator

    Thank you. I will give it a run.
    If we want to email the PDF instead of printing it from an email listed beside each students name, how do we do this please?
    Thank you so much for your help so far.

  25. #25
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: certificate generator

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Certificate help
    By TKDjon in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-21-2015, 08:17 AM
  2. Certificate
    By Evolta in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2015, 07:52 AM
  3. from spreadsheet to certificate ?
    By Sable28 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-19-2015, 04:58 PM
  4. Replies: 0
    Last Post: 07-11-2012, 12:30 PM
  5. Security Certificate
    By Rich57 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-03-2005, 06:05 PM
  6. [SOLVED] Certificate Discarded.
    By ben in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-19-2005, 12:05 AM
  7. [SOLVED] Digital Certificate
    By phil in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2005, 05:06 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