Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49895

Set initial Userforml font size through Properties Window instead of code

$
0
0
Instead of coding it (like below), can you set it in the properties window for labels, buttons.. etc.

Code:

Sub OpenForm()
    UserForm1.Label2.Font.Size = 12
    UserForm1.Show
End Sub


Viewing all articles
Browse latest Browse all 49895

Trending Articles