I need to print a report on a watermarked paper. The watermarked paper has space for 3 short slips, and each slip has can hold 5 records. The 3 slips should be printing the same set of records and look the same. If I get more than 5 records to print, extra records should be printed on the next watermarked paper.
The problem is I don't know how to use VBA I prepared psuedocode for my problem above. Can anyone convert this to VBA?
Code:
-Input: Records
Sub DuplicateRecords()
NumRecords = num(Records)
Do While NumRecords - 5 > 0
'Append First 5 Records to TempTable 3 times
'Delete First 5 Records
NumRecords = NumRecords - 5
Loop
End Sub
Please help! If anyone has better code design, I'm all ears for that too.