Note: Has the command already been executed. Returns true or false. Syntax: controlRangeName.queryCommandState(param1) objectName.queryCommandState(param1) Parameters: param1 Required; the name of the command. For a complete list of commands, go to http://msdn.microsoft.com/workshop/author/dhtml/reference/commandids.asp.