Solved

Show Userform on a 2nd monitor not on laptop monitor

Posted on 2011-09-15
3
436 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
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…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now