I have an old-fashioned Access database (.mdb). I have a macro-enabled Excel spreadsheet that interacts with this database via an ADODB connection.
I am wanting to perform a query on the database using a regular expression in the "like" clause; something like:
(I want to match "SM39_002xx")
"SELECT Serial from tbl1939 where Serial like RegExpMatch(""^SM+[0-9]+[_][0-9]+[a-z]?"", [Serial])"
which works perfectly within Access, but from Excel the "RegExpMatch" function isn't found and the whole thing fails.
Any help much appreciated.