
Private Sub UserForm_Initialize()
Dim mes1 As String
mes1 = "Inserire il Nominativo-Utente e cliccare Invio (Enter)"
Call giallo
Label2.Caption = mes1
txtUtente.BackColor = vbWhite
cmdChiude.Enabled = True
'by scossa
'Dim nWd As Double
' With Me
' nWd = Application.Width / .Width
' .Top = Application.Top
' .Left = Application.Left
' .Width = Application.Width
' .Height = Application.Height
' .Zoom = Round(nWd, 1) * 75 'oppure .Zoom = Round(nWd, 2) * 100 - 1
' End With
End Sub |
With Me
nWd = Application.Width / .Width
.Width = Application.Width / 3
.Height = Application.Height / 2
.Zoom = 150
End With
|
