VBAmalta89
Board Regular
- Joined
- Mar 25, 2011
- Messages
- 116
i have a series of text boxes with the name power1_1, power 1_2 etc.
I need to call them in a procedure but the numbers 1 and 2 are changing so i applied the following section of code:
this didnt work as it kept prompting an error that points me to this code.
any idea what could be wrong please?
I need to call them in a procedure but the numbers 1 and 2 are changing so i applied the following section of code:
Code:
If Me.Controls("power" & j & _i).Enabled = True Then
this didnt work as it kept prompting an error that points me to this code.
any idea what could be wrong please?