XLL+ Class Library (6.3)

CXllApp::GetHideArgumentBoxForNoArgs

Get the value of the property that controls the behavior of the Excel Formula Wizard for functions with no arguments

bool GetHideArgumentBoxForNoArgs( );

Return Value

Returns the current value of the property.

If the value is true, then the extra argument box that appears in the Excel Formula Wizard for functions which in fact have no arguments will be suppressed. As a side-effect, the help text for the function will not appear.

If the value is false, then the extra argument box will continue to appear. However, the help text for the function will appear.

Remarks

There is a problem with the Excel Formula Wizard when displaying functions that have no arguments. Either the Wizard displays an argument box for a non-existent argument, or the help text for the function is not displayed.

The table below shows the behavior of the Wizard when displaying a zero-argument function, for different return values of GetHideArgumentBoxForNoArgs().

Value Argument box Function help text
true Not displayed (good) Not displayed (bad)
false Displayed (bad) Displayed (good)

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::SetHideArgumentBoxForNoArgs()