G
Guest
I have several txtBoxes that I want to edit the Control Sources of each of
them. If I set a variable to the name of the txtBox, can I somehow
dynamically call the control source of the txtBox by a variable as suppose to
writing out the code for each one in long form? Confused? Here's my code
Option Explicit
Dim SomeFormula
Me.txtBox.controlsource = "=" & SomeForumula
Can I somehow do this:
Me. & Array(I) & .controlsource= "=" & SomeFormula
Is this possible? Still Confused? (So am I sometimes...)
them. If I set a variable to the name of the txtBox, can I somehow
dynamically call the control source of the txtBox by a variable as suppose to
writing out the code for each one in long form? Confused? Here's my code
Option Explicit
Dim SomeFormula
Me.txtBox.controlsource = "=" & SomeForumula
Can I somehow do this:
Me. & Array(I) & .controlsource= "=" & SomeFormula
Is this possible? Still Confused? (So am I sometimes...)