I'm making a UserForm
in VBA for some data entry. I have segregated the input boxes using a few frames.
I want to have the labels for these frames in a larger font size than the default so that they can stand out from the rest of the form.
How can I achieve this?
A solution would be to change it when initializing the userform
Private Sub UserForm_Initialize()
With Frame1
.Font.Size = 20
.Font.Bold = True
.ForeColor = vbGreen
End With
End Sub
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.