AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 1,822
- Office Version
- 2019
- 2016
- Platform
- Windows
Having trouble applying a name to the line
For Each ctrl In Form1.Controls
The name of my Form is "frmLayout"
How can I change Form1.Controls to "frmLayout".Controls ?
ROFL please don't tell me just to type in it without the quotes, I mean when the name is in a string variable. Thanks.
For Each ctrl In Form1.Controls
The name of my Form is "frmLayout"
How can I change Form1.Controls to "frmLayout".Controls ?
ROFL please don't tell me just to type in it without the quotes, I mean when the name is in a string variable. Thanks.