VBA Mail Merge

  • I am trying to do a VBA mailmerge to create certificates for my nonprofit that has leadership schools for youth. I have instructors across the country who use a scoring matrix to type in scores for all assessments. I want to make printing graduation certificates easier for them. I am new to macros but I have figured it out how to get word to open and create the certificates for the students. A leadership school can have anywhere between 10 and 100 students so I have enough rows to accommodate this on the spreadsheet. However, when the script is run, I can not figure out how to get it to skip blank cells. Can anyone help? Here is the code.


  • Code Tags Added
    Your post does not comply with our Forum RULES. Use code tags around code.


    Posting code between

    Code

    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.


    Highlight your code and click the # icon at the top of your post window.


    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!