LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default form appears on second monitor

In VBA, I have a simple statement to display a form when a certain worksheet
is selected:

Private Sub Worksheet_Activate()
frmMyform.Show
End Sub

But when the form appears, it always appears on the second monitor. It
doesn't matter which monitor is showing the worksheet. Furthermore, even
though both form.top and form.left are zero, the form appears up against the
left edge of the monitor as expected (although the wrong monitor), but
centered vertically.

How can I put the form where I want it?




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Monitor ? Microsoft Communities Excel Discussion (Misc queries) 2 June 26th 09 07:13 PM
message box appears and appears Wanna Learn Excel Discussion (Misc queries) 1 January 14th 09 06:19 PM
clipboard monitor climax[_4_] Excel Programming 1 July 21st 06 06:55 PM
monitor clipboard climax Excel Discussion (Misc queries) 0 July 21st 06 05:28 PM
Monitor Changes Tempy Excel Programming 0 September 30th 05 04:10 PM


All times are GMT +1. The time now is 04:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"