MSAccess using a wildcard in the REPLACE function
问题 I'm trying to do something simple and I don't understand why it's not working. I'm really new to MS Access VBA. I have a string in a textbox : \\p9990cdc\C$\Temp I want to turn it into : C:\Temp I'm trying : strSelectedFile = Replace(strSelectedFile, "\\*\C$", "C:") and it's not working. Not sure why RegEx doesn't work either : strSelectedFile = Replace(strSelectedFile, "\\[\w]\C$", "C:") Everything is set properly so the problem lies exactly in that replace code, because if I try for example