Attribute VB_Name = "testTextbox4" Sub ƒeƒXƒg() Load sampleForm sampleForm.nameText.MaxLength = 6 sampleForm.Show End Sub