Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Show Userform on a 2nd monitor not on laptop monitor

Posted on 2011-09-15
3
Medium Priority
?
489 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
Arno Koster earned 2000 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:Arno Koster
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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…

610 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