G
Guest
Is there a way to execute a string as a VBA statement?
For example something like:
Execute "Msgbox"
I am looking for a means to assemble and execute a VBA statement as a string
similar to the means to execute a SQL statement such as:
CurrentProject.Connection.Execute "DELETE FROM [tblCustomers] WHERE ......"
However this example works only for SQL statements. I am looking for a
similar means to execute a VBA statement.
Jack Cannon
For example something like:
Execute "Msgbox"
I am looking for a means to assemble and execute a VBA statement as a string
similar to the means to execute a SQL statement such as:
CurrentProject.Connection.Execute "DELETE FROM [tblCustomers] WHERE ......"
However this example works only for SQL statements. I am looking for a
similar means to execute a VBA statement.
Jack Cannon