I have been hitting Google for a while, this one is getting plain frustrating now as I can't seem to fix it. I keep getting Invalid Qualifier when trying to use the String.Replace() function.
I am trying to create a file name for storing a PDF document but there are a few exceptions where the Ref# in the table have /'s in them. My code is as follows
Dim tempRef As String
...
tempRef = recordSet("Ref#")
MyFileName = MyPath & tempRef.Replace("/", "") & ".pdf"
Unsure why but I keep getting the "invalid qualifier" error for executing this function.
Apologies for simplicity of this one...