Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open form in dialog mode on specific place 1

Status
Not open for further replies.

eon5

Technical User
Dec 31, 2007
47
ZA
Hi,
Access beginner

I have a macro that is opening a form in a dialog mode with the action set as "Openform"....it works perfectly but i would also like to position the form. In the macro action list i selected "MoveSize" and set the value to 2 " to the right but the form is not responding to the position and still opens in the top left corner.

Do i miss something??

Thanks
Theuns
 
To set the form's location you can set the top and left properties without the MoveSize. If you know where you want it you can use:

Me.Top = 3000
Me.Left = 1300

or whatever works for you. Remember to use twips (1440 per inch).


Bob Larson
A2K,A2K3,A2K7,SQL Server 2000/2005,Crystal Reports 10/XI,VB6, WinXP, and Vista
Free Quick Tutorials and Samples:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top