Dialog.Show Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays the built-in dialog box and waits for the user to input data.
public bool Show (object Arg1, object Arg2, object Arg3, object Arg4, object Arg5, object Arg6, object Arg7, object Arg8, object Arg9, object Arg10, object Arg11, object Arg12, object Arg13, object Arg14, object Arg15, object Arg16, object Arg17, object Arg18, object Arg19, object Arg20, object Arg21, object Arg22, object Arg23, object Arg24, object Arg25, object Arg26, object Arg27, object Arg28, object Arg29, object Arg30);
Public Function Show (Optional Arg1 As Object, Optional Arg2 As Object, Optional Arg3 As Object, Optional Arg4 As Object, Optional Arg5 As Object, Optional Arg6 As Object, Optional Arg7 As Object, Optional Arg8 As Object, Optional Arg9 As Object, Optional Arg10 As Object, Optional Arg11 As Object, Optional Arg12 As Object, Optional Arg13 As Object, Optional Arg14 As Object, Optional Arg15 As Object, Optional Arg16 As Object, Optional Arg17 As Object, Optional Arg18 As Object, Optional Arg19 As Object, Optional Arg20 As Object, Optional Arg21 As Object, Optional Arg22 As Object, Optional Arg23 As Object, Optional Arg24 As Object, Optional Arg25 As Object, Optional Arg26 As Object, Optional Arg27 As Object, Optional Arg28 As Object, Optional Arg29 As Object, Optional Arg30 As Object) As Boolean
Parameters
- Arg1
- Object
Optional Object. The initial arguments for the command.
- Arg2
- Object
Optional Object. The initial arguments for the command.
- Arg3
- Object
Optional Object. The initial arguments for the command.
- Arg4
- Object
Optional Object. The initial arguments for the command.
- Arg5
- Object
Optional Object. The initial arguments for the command.
- Arg6
- Object
Optional Object. The initial arguments for the command.
- Arg7
- Object
Optional Object. The initial arguments for the command.
- Arg8
- Object
Optional Object. The initial arguments for the command.
- Arg9
- Object
Optional Object. The initial arguments for the command.
- Arg10
- Object
Optional Object. The initial arguments for the command.
- Arg11
- Object
Optional Object. The initial arguments for the command.
- Arg12
- Object
Optional Object. The initial arguments for the command.
- Arg13
- Object
Optional Object. The initial arguments for the command.
- Arg14
- Object
Optional Object. The initial arguments for the command.
- Arg15
- Object
Optional Object. The initial arguments for the command.
- Arg16
- Object
Optional Object. The initial arguments for the command.
- Arg17
- Object
Optional Object. The initial arguments for the command.
- Arg18
- Object
Optional Object. The initial arguments for the command.
- Arg19
- Object
Optional Object. The initial arguments for the command.
- Arg20
- Object
Optional Object. The initial arguments for the command.
- Arg21
- Object
Optional Object. The initial arguments for the command.
- Arg22
- Object
Optional Object. The initial arguments for the command.
- Arg23
- Object
Optional Object. The initial arguments for the command.
- Arg24
- Object
Optional Object. The initial arguments for the command.
- Arg25
- Object
Optional Object. The initial arguments for the command.
- Arg26
- Object
Optional Object. The initial arguments for the command.
- Arg27
- Object
Optional Object. The initial arguments for the command.
- Arg28
- Object
Optional Object. The initial arguments for the command.
- Arg29
- Object
Optional Object. The initial arguments for the command.
- Arg30
- Object
Optional Object. The initial arguments for the command.
Returns
Remarks
For built in dialog boxes, this method returns True if the user clicks OK, or it returns False if the user clicks Cancel.
You can use a single dialog box to change many properties at the same time. For example, you can use the Format Cells dialog box to change all the properties of the Font object.
For some built-in dialog boxes (the Open dialog box, for example), you can set initial values using arg1, arg2, ..., arg30. For more information about built-in dialog boxes, see the Dialogs collection.