View Single Post
 
Old 04-28-2020, 06:51 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

And to answer your later questions, no I don't create userforms with code. I use the GUI to create and layout the controls and then heavily customise macros on a lot of those controls to get the functionality I want. I guess I could create and populate the controls via code but that is additional work that isn't required.

I have used code to populate content in labels and controls but only very rarely would I actually create the controls themselves with code. The only time I would do that is when the actual number of controls needed isn't known at design time (ie the code reads data from somewhere that specifies how many controls are needed).
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote