- 帖子
- 11
- 主題
- 1
- 精華
- 0
- 積分
- 12
- 點名
- 0
- 作業系統
- Win7 32
- 軟體版本
- Office2013
- 閱讀權限
- 10
- 性別
- 男
- 來自
- Keelong
- 註冊時間
- 2015-2-14
- 最後登錄
- 2015-3-16
|
試試+1- Private Sub CommandButton1_Click()
- x = Sheets("BOB").[B65536].End(xlUp).Row + 1
- Cells(x, 2) = TextBox1.Text
- Cells(x, 3) = TextBox2.Text
- Cells(x, 4) = TextBox3.Text
- Cells(x, 5) = TextBox4.Text
- TextBox1.Text = ""
- TextBox2.Text = ""
- TextBox3.Text = ""
- TextBox4.Text = ""
- TextBox1.SetFocus
- End Sub
複製代碼 |
|