Solved

Show Userform on a 2nd monitor not on laptop monitor

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

Technology Partners: 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!

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

733 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