Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default user form StartUpPosition

I would like to specify in my VBA code exactly where,
relative to the application, my user form will appear.
None of the four defaults for "StartUpPosition" are
exactly what I want. Can anyone tell me how to specify for
example that the left edge of a user form should be 300
pixels to the right of the left side of the application
and that its top should be 150 pixels below the top of the
application? Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default user form StartUpPosition

Chris,

set the form's startupposition property to manual (0),
and then define the Left and Top properties as per your
requirements.

This should work......

Steve
-----Original Message-----
I would like to specify in my VBA code exactly where,
relative to the application, my user form will appear.
None of the four defaults for "StartUpPosition" are
exactly what I want. Can anyone tell me how to specify

for
example that the left edge of a user form should be 300
pixels to the right of the left side of the application
and that its top should be 150 pixels below the top of

the
application? Thank you.
.

Reply
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
How do I fill a cell in a user form from a selection on same form? Terry Tipsy Excel Discussion (Misc queries) 4 June 11th 07 02:59 PM
User Form Craig Somberg Excel Programming 3 December 27th 03 10:45 PM
I am looking to see if anybody has an equivalant user form to Outlooks CONTACT form BruceJ[_2_] Excel Programming 2 October 15th 03 05:28 PM
vbModal, VBA version, StartUpPosition Setting Shoji Karai Excel Programming 0 September 22nd 03 09:30 PM
vbModal, VBA version, StartUpPosition Setting Shoji Kaku Excel Programming 5 September 21st 03 10:01 PM


All times are GMT +1. The time now is 01:48 PM.

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

About Us

"It's about Microsoft Excel"