- 帖子
- 561
- 主題
- 160
- 精華
- 0
- 積分
- 725
- 點名
- 0
- 作業系統
- WINDOWS
- 軟體版本
- xp
- 閱讀權限
- 50
- 性別
- 男
- 來自
- 桃園
- 註冊時間
- 2014-9-10
- 最後登錄
- 2026-2-12
  
|
Sub AA()
X = Sheet1.Range("A1")
Y = Sheet1.Range("A5")
Z = Sheet1.Range("A7")
If X <> "" Then
Application.Run "A"
End If
If Y <> "" Then
Application.Run "C"
End If
If Z <> "" Then
Application.Run "D"
End If
End Sub |
|