This documentation is archived and is not being maintained.

Dialog.Show Method 

Displays the built-in dialog box and waits for the user to input data.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Dim Arg1 As Object
Dim Arg2 As Object
Dim Arg3 As Object
Dim Arg4 As Object
Dim Arg5 As Object
Dim Arg6 As Object
Dim Arg7 As Object
Dim Arg8 As Object
Dim Arg9 As Object
Dim Arg10 As Object
Dim Arg11 As Object
Dim Arg12 As Object
Dim Arg13 As Object
Dim Arg14 As Object
Dim Arg15 As Object
Dim Arg16 As Object
Dim Arg17 As Object
Dim Arg18 As Object
Dim Arg19 As Object
Dim Arg20 As Object
Dim Arg21 As Object
Dim Arg22 As Object
Dim Arg23 As Object
Dim Arg24 As Object
Dim Arg25 As Object
Dim Arg26 As Object
Dim Arg27 As Object
Dim Arg28 As Object
Dim Arg29 As Object
Dim Arg30 As Object
Dim returnValue As Boolean
Dim dialog1 As Dialog
returnValue = dialog1.Show(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)

bool Show(
	[In, Optional] object Arg1, 
	[In, Optional] object Arg2, 
	[In, Optional] object Arg3, 
	[In, Optional] object Arg4, 
	[In, Optional] object Arg5, 
	[In, Optional] object Arg6, 
	[In, Optional] object Arg7, 
	[In, Optional] object Arg8, 
	[In, Optional] object Arg9, 
	[In, Optional] object Arg10, 
	[In, Optional] object Arg11, 
	[In, Optional] object Arg12, 
	[In, Optional] object Arg13, 
	[In, Optional] object Arg14, 
	[In, Optional] object Arg15, 
	[In, Optional] object Arg16, 
	[In, Optional] object Arg17, 
	[In, Optional] object Arg18, 
	[In, Optional] object Arg19, 
	[In, Optional] object Arg20, 
	[In, Optional] object Arg21, 
	[In, Optional] object Arg22, 
	[In, Optional] object Arg23, 
	[In, Optional] object Arg24, 
	[In, Optional] object Arg25, 
	[In, Optional] object Arg26, 
	[In, Optional] object Arg27, 
	[In, Optional] object Arg28, 
	[In, Optional] object Arg29, 
	[In, Optional] object Arg30
);
public boolean Show(
	/*in*/System.Object Arg1, 
	/*in*/System.Object Arg2, 
	/*in*/System.Object Arg3, 
	/*in*/System.Object Arg4, 
	/*in*/System.Object Arg5, 
	/*in*/System.Object Arg6, 
	/*in*/System.Object Arg7, 
	/*in*/System.Object Arg8, 
	/*in*/System.Object Arg9, 
	/*in*/System.Object Arg10, 
	/*in*/System.Object Arg11, 
	/*in*/System.Object Arg12, 
	/*in*/System.Object Arg13, 
	/*in*/System.Object Arg14, 
	/*in*/System.Object Arg15, 
	/*in*/System.Object Arg16, 
	/*in*/System.Object Arg17, 
	/*in*/System.Object Arg18, 
	/*in*/System.Object Arg19, 
	/*in*/System.Object Arg20, 
	/*in*/System.Object Arg21, 
	/*in*/System.Object Arg22, 
	/*in*/System.Object Arg23, 
	/*in*/System.Object Arg24, 
	/*in*/System.Object Arg25, 
	/*in*/System.Object Arg26, 
	/*in*/System.Object Arg27, 
	/*in*/System.Object Arg28, 
	/*in*/System.Object Arg29, 
	/*in*/System.Object Arg30
);
function Show(
	 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 : Object
) : Boolean;

Parameters

Arg1

Optional Object. The initial arguments for the command.

Arg2

Optional Object. The initial arguments for the command.

Arg3

Optional Object. The initial arguments for the command.

Arg4

Optional Object. The initial arguments for the command.

Arg5

Optional Object. The initial arguments for the command.

Arg6

Optional Object. The initial arguments for the command.

Arg7

Optional Object. The initial arguments for the command.

Arg8

Optional Object. The initial arguments for the command.

Arg9

Optional Object. The initial arguments for the command.

Arg10

Optional Object. The initial arguments for the command.

Arg11

Optional Object. The initial arguments for the command.

Arg12

Optional Object. The initial arguments for the command.

Arg13

Optional Object. The initial arguments for the command.

Arg14

Optional Object. The initial arguments for the command.

Arg15

Optional Object. The initial arguments for the command.

Arg16

Optional Object. The initial arguments for the command.

Arg17

Optional Object. The initial arguments for the command.

Arg18

Optional Object. The initial arguments for the command.

Arg19

Optional Object. The initial arguments for the command.

Arg20

Optional Object. The initial arguments for the command.

Arg21

Optional Object. The initial arguments for the command.

Arg22

Optional Object. The initial arguments for the command.

Arg23

Optional Object. The initial arguments for the command.

Arg24

Optional Object. The initial arguments for the command.

Arg25

Optional Object. The initial arguments for the command.

Arg26

Optional Object. The initial arguments for the command.

Arg27

Optional Object. The initial arguments for the command.

Arg28

Optional Object. The initial arguments for the command.

Arg29

Optional Object. The initial arguments for the command.

Arg30

Optional Object. The initial arguments for the command.

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show: