Share via


MonthCalendar.Select Method (Object)

Selects the MonthCalendar.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public Function Select ( _
    Replace As Object _
) As Object
public Object Select(
    Object Replace
)

Parameters

  • Replace
    Type: System.Object
    true to replace the current selection with the MonthCalendar; false to extend the current selection to include any previously selected objects and the MonthCalendar.

Return Value

Type: System.Object
In Excel 2010, this method returns a null reference (Nothing in Visual Basic); otherwise this method returns true.

Remarks

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

.NET Framework Security

See Also

Reference

MonthCalendar Class

Select Overload

Microsoft.Office.Tools.Excel.Controls Namespace