When looking at your userform in design mode, press f4 and look for scroll bars for the various options.
Create a userform with a label on it.
Place this code in the userform.
When the userform is displayed the label will be in the center of the userform.VB:Private Sub UserForm_Initialize() With Me Label1.Move ((.InsideWidth - Label1.Width) / 2), ((.InsideHeight - Label1.Height) / 2) .ScrollBars = fmScrollBarsBoth .ScrollHeight = .InsideHeight * 2 .ScrollWidth = .InsideWidth * 2 End With End Sub
The scrollbars will allow you to move the label up and left.
There are currently 2 users browsing this thread. (0 members and 2 guests)