>>>>I'm not sure if _VFP.ActiveProject serves the need.
>>>
>>>Yes. The name property of this object shows me the project name. Thank you!
>>
>>Be aware that the project must remain open for that to work
>
>Good point!
And simple to solve - loop through _vfp.projects (or get the count first), then if the one you need isn't there,
modify project (mypjx) noshow
return _vfp.activeproject