A
alex
Check List in VBA
Hello,
I’m looking for advice on the following:
Let’s say you wanted to check a list of values (same data type, same
length, etc) without using a table in VBA.
Something like…
If strValue in (
Value1,
Value2,
Value3,
ValueN)
Then do something
With a short list, a simple case statement would suffice, but because
of its structure (TestExpression), (ExpressionList), (StatementBlock),
it could get rather long.
What I’m trying to do is verify a list of user ID’s in code without
using a table object (which would be linked).
Am I crazy or can/should this be done easily? My reasoning is that
it’s faster and while not super secure, more secure than a table.
Thanks,
alex
Hello,
I’m looking for advice on the following:
Let’s say you wanted to check a list of values (same data type, same
length, etc) without using a table in VBA.
Something like…
If strValue in (
Value1,
Value2,
Value3,
ValueN)
Then do something
With a short list, a simple case statement would suffice, but because
of its structure (TestExpression), (ExpressionList), (StatementBlock),
it could get rather long.
What I’m trying to do is verify a list of user ID’s in code without
using a table object (which would be linked).
Am I crazy or can/should this be done easily? My reasoning is that
it’s faster and while not super secure, more secure than a table.
Thanks,
alex