Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Runs the specified procedure.
Syntax
expression.Run (Name, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8, Arg9, Arg10, Arg11, Arg12, Arg13, Arg14, Arg15, Arg16, Arg17, Arg18, Arg19, Arg20, Arg21, Arg22, Arg23, Arg24, Arg25, Arg26, Arg27, Arg28, Arg29, Arg30)
expression A variable that represents an Application object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Name | Required | String | The name of the macro to run. |
| Arg1 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg2 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg3 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg4 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg5 | Optional | Variant | Any argument to pass to the macro specified in Name |
| Arg6 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg7 | Optional | Variant | Any argument to pass to the macro specified in Name . |
| Arg8 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg9 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg10 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg11 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg12 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg13 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg14 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg15 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg16 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg17 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg18 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg19 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg20 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg21 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg22 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg23 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg24 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg25 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg26 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg27 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg28 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg29 | Optional | Variant | Any argument to pass to the macro specified in Name. |
| Arg30 | Optional | Variant | Any argument to pass to the macro specified in Name. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.