• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 493
  • Last Modified:

Show Userform on a 2nd monitor not on laptop monitor

excel vba 2003  routine needed to show a userform on a secondf monitor instead of on the laptop screen.

Need to do this in vba please...


vb.net code reference
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_24477661.html?sfQueryTermInfo=1+10+30+form+monitor+second+show

Is this possible ?

Thanks
fordraiders

0
Fordraiders
Asked:
Fordraiders
  • 2
1 Solution
 
Arno KosterCommented:
I am not completely sure, but think that you would need to make some API calls in a VBA macro in order for this to happen.
As far as I know, you can directly influence the position of a userform but to show it on a second monitor you would either have to make the parent of the userform (the excel application it resides in) to be active on the second screen, or make windows open the form in the second screen

No clue which API statements would be appropriate for this however...
0
 
Arno KosterCommented:
you could try code from 'RBS' in this link :
ureader forum

My workplace has only one monitor so I cannot test this out for you...
0
 
FordraidersAuthor Commented:
Thanks !
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now