This documentation is archived and is not being maintained.

MenuItem.Enabled Property 

This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Dim menuItem1 As MenuItem

Dim returnValue As Boolean
returnValue = menuItem1.Enabled

Dim sampleValue As Boolean
menuItem1.Enabled = sampleValue

bool Enabled {get; set;}
public boolean get_Enabled();
public void set_Enabled(boolean);
function get Enabled() : Boolean;
function set Enabled(Boolean);

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