Re: Are VBA userforms always child of Windows desktop?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



the simple one-liner fail

Which one-liner is that Peter?

RBS

"Peter T" <peter_t@discussions> wrote in message news:uZNYdqSpHHA.1216@xxxxxxxxxxxxxxxxxxxxxxx
In any case it always seems to find the right Hwnd of the Userform.

Why might the simple one-liner fail to find the correct Hwnd, particularly
if the Userform's caption is temporarily changed to something unique.

Regards,
Peter T

<snip>



.