[VBA ] 呼叫其他工作表的指令
^^ 請教一下
我現有在兩個工作表,裡面個有一個CommandButton,我想
寫說按下sheet1的Commandbutton1後然後執行sheet2的CommandButton1
,
Private Sub CommandButton1_Click()
Call worksheet1.CommandButton1_Click
End Sub
我這樣寫他說需要此物件ㄟ,不知道哪裡出了錯
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.230.71.87
推
04/11 21:16, , 1F
04/11 21:16, 1F
推
04/11 21:47, , 2F
04/11 21:47, 2F
→
04/11 21:48, , 3F
04/11 21:48, 3F
推
04/11 22:03, , 4F
04/11 22:03, 4F
推
04/12 06:20, , 5F
04/12 06:20, 5F
Visual_Basic 近期熱門文章
PTT數位生活區 即時熱門文章