G
Guest
I have code like:
With cmd_City
.FontBold = True
.FontSize = 12
.Forecolor = RGB(255,0,0)
etc....
End With
My problem is that I want to apply these IDENTICAL properties to several
different command buttons on the form (cmd_City, cmd_Division, cmd_Region,
etc...)
Is there a more compact way to set these properties other than just
repeating the same 'With - End With' code for each one?
thanks
With cmd_City
.FontBold = True
.FontSize = 12
.Forecolor = RGB(255,0,0)
etc....
End With
My problem is that I want to apply these IDENTICAL properties to several
different command buttons on the form (cmd_City, cmd_Division, cmd_Region,
etc...)
Is there a more compact way to set these properties other than just
repeating the same 'With - End With' code for each one?
thanks