Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForm position
Hello All,
I have a few userforms in a file and I would like to manually set the screen position of each. I believe I have to do this with code, but I am not sure. Thanks in advance |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForm position
Hi Tim,
You need to add some code to the form code module. This code moves the userform when it is activated Private Sub UserForm_Activate() Me.Left = 100 Me.Top = 200 End Sub Play with it and get it to your needs. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Tim" wrote in message ... Hello All, I have a few userforms in a file and I would like to manually set the screen position of each. I believe I have to do this with code, but I am not sure. Thanks in advance |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForm position
Here is a good place to start
Chip Pearson's page on positioning a userform to a cell location: http://www.cpearson.com/excel/FormPosition.htm -- Regards, Tom Ogilvy "Tim" wrote in message ... Hello All, I have a few userforms in a file and I would like to manually set the screen position of each. I believe I have to do this with code, but I am not sure. Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
UserForm position | Excel Discussion (Misc queries) | |||
Look up a value which position changes. | Excel Discussion (Misc queries) | |||
How can I fix the position of a row | Excel Discussion (Misc queries) | |||
.position | Charts and Charting in Excel | |||
Userform Position | Excel Programming |