Author Topic: Always open userform on the same monitor as the active Visio window  (Read 4239 times)

0 Members and 1 Guest are viewing this topic.

daihashi

  • Full Member
  • ***
  • Posts: 134
I just thought I'd share. I finally got fed up with the userform opening up on the wrong monitor. Originally I tried a much simpler method involving GetRect, and while it worked for the most part.. it still left quite a bit to be desired for me. So I put this together instead (see the file attachment).

If it doesn't work properly for you; such as the userform opens up on the wrong monitor when you first open it, then go to the developer tab and click on properties... and then close the properties window. After this it will work; although i have no idea why it's doing this... it works perfectly fine in my other documents, but not a newly created document like the one attached here.

Other than that it works really well.

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4090
  • Ideas Visio-lized into solutions
Re: Always open userform on the same monitor as the active Visio window
« Reply #1 on: September 11, 2014, 01:09:38 AM »
Hi Daihashi...

Please don't double post.

Thanks.
Wapperdude
Visio 2019 Pro