Private Sub UserForm_Initialize()
Range("A9") = Range("C7")
Frame1.Caption = "Chi é di turno questa settimana? - Settimana N° " & Range("c7")
Label5 = ActiveCell.Offset(0, 4)
Label2 = ActiveCell.Offset(0, 3)
TextBox2 = ActiveCell.Offset(0, 9)
Label3 = "Telefono picchetto: " & Range("F1").Text
TextBox1.Value = ActiveCell.Offset(0, 2)
TextBox1.Value = Format(TextBox1.Value, "dddd dd-mmmm-yyyy")
TextBox3.Value = ActiveCell.Offset(6, 2)
TextBox3.Value = Format(TextBox1.Value, "dddd dd-mmmm-yyyy")
End Sub |