各位前輩我用以下的Code動態產生
Private Sub CommandButton4_Click()
For X1=1 To 3
Set theTextBox = frame1.Controls.Add("Forms.TextBox.1", "TextBox" & TeCount + X1, True)
With theTextBox
.Name ="TextBox" & TeCount
.Left = 162
.Left = 330
.Width = 30
End With
Next X1
End sub
還想針對新增的TextBox呼叫其他的Function,請問這該怎麼寫?
謝謝作者: luhpro 時間: 2016-3-30 22:56