Hmm, I dunno if the single tick will cause you problems or not. I usually put at least one set of quotes round the value that I search for. Also, you have to double the quotes inside a string, which I don't know if you're using or not. Just use the relative path name; for example, if you were creating a dynamic hyperlinked contact report:
"detail.rox?ContactID=""" & [ssId] & """"