Wildcards in VBA

Joined
May 26, 2010
Messages
2
Reaction score
0
There is a lot on the internet about wildcards but I am trying to create a code line in VBA for Access which allows me to specify

If RTrim(txtECCN) = "EAR99" Then [txtExport] = "This is it as well"

Where EAR 99 can be replaced by EAR*

If I enter like before it in VBA it tells me that it is expecting an expression but generally doesn't like waht I do.

Any Help would be appreciated

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top