Consulting

Results 1 to 3 of 3

Thread: Prevent multiple PickFolder windows

  1. #1
    VBAX Regular
    Joined
    Feb 2022
    Posts
    9
    Location

    Prevent multiple PickFolder windows

    Hello,

    I have a button on a userform that opens a 'Session.PickFolder' window. If you keep pressing the button it will open multiple windows.

    What would be the best way to prevent this behavior and open only one instance regardless of how many clicks?

    Thanks.

  2. #2
    maybe use API to check if the PickFolder window is already open.
    set the window to Foreground if it does, otherwise open new instance.

  3. #3
    VBAX Regular
    Joined
    Feb 2022
    Posts
    9
    Location
    I'll try that. Thank you arnelgp.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •