String$ is a member of VBA's Strings class just as are Trim, strConv, Right$, etc. Highlight String$ and press Shift-F2 to open up the Object Browser. Does it find it String$? The only things I can suggest is that you try using String instead of String$ or perhaps VBA.String$. BTW when you type VBA.S does Intellisense show you String$ as one of the possible choices?