Solved

Show Userform on a 2nd monitor not on laptop monitor

Posted on 2011-09-15
3
464 Views
Last Modified: 2012-05-12
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
Comment
Question by:fordraiders
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
akoster earned 500 total points
ID: 36548360
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
 
LVL 19

Expert Comment

by:akoster
ID: 36548371
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
 
LVL 3

Author Closing Comment

by:fordraiders
ID: 36567107
Thanks !
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question