Skip to main content

CommandBars.DisableAskAQuestionDropdown property

Table of contents
  1. Syntax
  2. Example

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

Syntax

expression.DisableAskAQuestionDropdown

expression A variable that represents a CommandBars object.

Example

The following example switches the DisableAskAQuestionDropdown property on or off.

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

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>