2022 · automation

VBA Grade Reporter

scroll
classproject

A class project: an Excel VBA tool that pulls student records from MS Access, computes grade statistics, and auto-generates a formatted Word report with a chart.

VBAExcelMS AccessMS Word

the problem

A class assignment: automate turning raw student records into a polished, readable grade report without manually copying numbers between programs.

the approach

Wrote VBA macros in Excel that connect to an MS Access database, pull student records, and compute grade statistics directly in the spreadsheet. A second macro drives Word's object model from within VBA to auto-generate a formatted report, complete with a chart.

how it happened

the process

01

Connected Excel to an MS Access database via VBA to pull raw student records

02

Computed grade statistics with macros directly in the spreadsheet

03

Used VBA to drive Word's object model, generating a formatted report document from the computed data

04

Added an auto-generated chart to the Word report to visualize the grade distribution

what came of it

A one-click pipeline from raw Access records to a finished Word report with a chart, no manual copy-pasting or formatting required.

built with

VBAExcelMS AccessMS Word
want to work together? →

next up

08Ontario Fuel Price Study