K
Keuken Waelwick Stichting De Hostert
I have written a subroutine that prints certain text and a date on labels.
This works fine. But the text on the label is always in the standard
fontsize.
I want the date to be printed in fontsize 20, but I do not know how.
In the following code the variable 'Counter' represents the date.
Private Sub PrintButton_Click()
Counter = varBegindat
Do While Counter <= varEinddat
Etiket = "Best before" & vbCr & vbCr _
& Counter
Application.MailingLabel.PrintOut Name:="Agipa 119015",
Address:=Etiket
Counter = Counter + 1
Loop
End Sub
How can I change the fontsize to 20?
This works fine. But the text on the label is always in the standard
fontsize.
I want the date to be printed in fontsize 20, but I do not know how.
In the following code the variable 'Counter' represents the date.
Private Sub PrintButton_Click()
Counter = varBegindat
Do While Counter <= varEinddat
Etiket = "Best before" & vbCr & vbCr _
& Counter
Application.MailingLabel.PrintOut Name:="Agipa 119015",
Address:=Etiket
Counter = Counter + 1
Loop
End Sub
How can I change the fontsize to 20?