- Код: Выделить всё
call CommandButton1_Click
call CommandButton1_Click
Application.Run
Application.Run ("UserForm1.CommandButton1_click")
Call UserForm1.CallButton1Click
Sub CallButton1Click
Call CommandButton1_Click
end Sub
Application.Run ("UserForm1.CallButton1Click")
CallByName UserForm1.CommandButton1, "Click", VbMethod
Public Sub Macro()
CallByName UserForm1, "CommandButton1_Click", VbMethod
End Sub
Public Sub CommandButton1_Click()
MsgBox "То, что доктор прописал"
End Sub
CallByName UserForm1.CommandButton1, "Click", VbMethod
CallByName UserForm1.CommandButton1, "CommandButton1_Click", VbMethod
CallByName UserForm1, "CommandButton1_Click", VbMethod
Private Sub CommandButton1_Click()
Public Sub CommandButton1_Click()
Call UserForm1.CommandButton1_Click
CallByName UserForm1, "CommandButton1_Click", VbMethod
Public Sub CommandButton1_Click
Application.Run "UserForm1.CommandButton1_Click"
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 37