Mark,
FWIW, I wouldn't write a function that actually required a WITH to be in effect for the code to work.
>If .YetAnotherProperty is a property of oMyObj in the calling code, this will resolve OK in the function SomeFunction. But I thought that WITH / ENDWITH only scoped to the current procedure. What's up?