View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Peter Ostermann Peter Ostermann is offline
external usenet poster
 
Posts: 25
Default userform, StartUpPosition

Hi folks,

to position a user form rightmost on the monitor
I miss a preset constant for the property
StartUpPosition aside of 'manual', 'centerowner',
'centerscreen' and 'windows default'.

To set 'left' manually by a program-function at least
I need to detect the screenwidth of the present monitor
but do not know how.

Can somebody help me out, maybe even with a
code example right away (for not to invent the wheel
again :-) )?
Thanks.

Regards
Peter