Share via


CommandBars.DisableAskAQuestionDropdown Property

Office Developer Reference

Is True if the Answer Wizard dropdown menu is enabled. Read/write.

Aa432259.vs_note(en-us,office.12).gif  Note
The use of CommandBars in some Microsoft Office applications has been superseded by the new Ribbon user interface. For more information, search help for the keyword "Ribbon."

Syntax

expression.DisableAskAQuestionDropdown

expression   A variable that represents a CommandBars object.

Example

The following example switches the DisableAskAQuestionDropdown property on or off.

Visual Basic for Applications
  Sub ToggleQuestionDropdown()
    With Application.CommandBars
        If .DisableAskAQuestionDropdown =  True Then
            .DisableAskAQuestionDropdown = False 
        Else
            .DisableAskAQuestionDropdown = True 
        End If
    End With
End Sub

See Also