Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

queryCommandValue Method


Returns the current value of the document, range, or current selection for the given command.

Syntax

vCmdValue = object.queryCommandValue(sCmdID)

Parameters

sCmdID Required. String that specifies a command identifier.

Return Value

Variant that returns the command value for the document, range, or current selection, if supported. Possible values depend on sCmdID . If not supported, this method returns a Boolean set to false.

Standards Information

There is no public standard that applies to this method.

Applies To

document, controlRange, TextRange

See Also

execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported

     Best Credit Cards | Bargain Flights | Loans | Car Finance | Car Finance
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp