DisableAskAQuestionDropdown Property

Microsoft Office Visual Basic

expression.DisableAskAQuestionDropdown

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

The following example toggles the DisableAskAQuestionDropdown property.

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