<div dir="ltr"><div dir="ltr">Before the new changes in the declaration of local variables, it was possible, even if I do not understand the reason, to declare a global variable to use it in this way:<br><br>Private hControl As Control<br><br>Public Sub Form_Open()<br><br>  For Each hControl In Me.Controls<br>    Print hControl.Name<br>  Next<br><br>End<br><br>Now this code is no longer possible.<br><br>Regards<br>Gianluigi<br></div></div>