Re: running vba code in a loop
- From: Tom van Stiphout <no.spam.tom7744@xxxxxxx>
- Date: Thu, 29 Sep 2005 21:19:20 -0700
On 29 Sep 2005 16:14:27 -0700, "ken" <gevayl@xxxxxxxxx> wrote:
If I understand you correctly, check out the Eval function in the Help
file:
Debug,Print Eval("3+4")
7
Debug.Print Eval("Field1.ControlSource = 'Documents'")
False
If rather, your intention is to set the ControlSource to "Documents",
then a simple:
Field1.ControlSource = "Documents"
will do.
-Tom.
>Hi,
>Can I run vba code from a string?
>
>Stuff like Field1.ControlSource = "Documents"
>
>Its sort of similar to running an sql...but not.
.
- References:
- running vba code in a loop
- From: ken
- running vba code in a loop
- Prev by Date: Re: Use the input to an Access 2003 form as parameters to a SQL Server stored procedure
- Next by Date: Re: code doesn't work on some PC's; does on others
- Previous by thread: running vba code in a loop
- Next by thread: Use the input to an Access 2003 form as parameters to a SQL Server stored procedure
- Index(es):