I'm not familiar with IsObject, but as far as Right is concerned I have a feeling that because it's a property of lots of objects you can't simply use its name as you can in VBA for example when you want to use it as a function - you have to use a fully qualified version like this: