- 帖子
- 66
- 主題
- 28
- 精華
- 0
- 積分
- 95
- 點名
- 0
- 作業系統
- Win7
- 軟體版本
- Office 2010
- 閱讀權限
- 20
- 註冊時間
- 2012-10-1
- 最後登錄
- 2018-6-26
|
各位前輩我用以下的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,請問這該怎麼寫?
謝謝 |
|