Hi,
As in the title: the main goal is to create a report for each subject and save it as PDF.
this code do the job.
Private Sub Command15_Click()
Dim sql As String
subcol = Array(14, 16, 30, 74, 289, 200548, 201103, 200594, 200569, 402031, 201105, 157)
For i = 0 To 11
sql = "SELECT * FROM Y7M...