- 帖子
- 4901
- 主題
- 44
- 精華
- 24
- 積分
- 4916
- 點名
- 142
- 作業系統
- Windows 7
- 軟體版本
- Office 20xx
- 閱讀權限
- 150
- 性別
- 男
- 來自
- 台北
- 註冊時間
- 2010-4-30
- 最後登錄
- 2026-7-16
                
|
2#
發表於 2010-9-18 22:54
| 只看該作者
回復 1# solely - Private Sub CommandButton1_Click() '列印按鈕
- With Me
- For Each ct In .Controls
- If ct.Name Like "CommandButton*" Then ct.Visible = False
- Next
- .PrintForm
- For Each ct In .Controls
- If ct.Name Like "CommandButton*" Then ct.Visible = True
- Next
- End With
- End Sub
複製代碼 |
|