Pitchblend
New Member
- Joined
- Feb 16, 2012
- Messages
- 44
Using the developer tab, I inserted a dozen or so textboxes. When I click on the control, there is a formula something like
=EMBED(TextBox.1,"")
Suppose I name one of the textboxes "txt11".
How do I access it in code indirectly?
For example:
NOT txt11.Text = "123"
INSTEAD, I am looking for something like this:
Dim str1 As String
str1 = "txt11"
Controls(str1).Text = "123"

=EMBED(TextBox.1,"")
Suppose I name one of the textboxes "txt11".
How do I access it in code indirectly?
For example:
NOT txt11.Text = "123"
INSTEAD, I am looking for something like this:
Dim str1 As String
str1 = "txt11"
Controls(str1).Text = "123"
