Class Research (Excel VBA)
The class Research represents the controls of a Research query.
IsResearchService
Indicates whether the GUID specified in the ServiceID parameter corresponds to a currently configured service.
Syntax : expression.IsResearchService (ServiceID)
ServiceID: Specifies a GUID that identifies the research service.
Parent
Returns the parent object for the specified object. Read-only.
Query
Specifies a research query.
Syntax : expression.Query (ServiceID, QueryString, QueryLanguage, UseSelection, LaunchQuery)
Arguments
The following argument is required
ServiceID (String) - Specifies a GUID that identifies the research service.
The following arguments are optional
QueryString (String) - Specifies the query string.
QueryLanguage (String) - Specifies the query language of the query string.
UseSelection (Boolean) - True to use the current selection as the query string. This overrides the QueryString parameter if set. Default value is False.
LaunchQuery (Boolean) - True launches the query. False displays the Research task pane scoped to search the specified research service.
SetLanguagePair
Sets the languages for the translation service.
Syntax : expression.SetLanguagePair (LanguageFrom, LanguageTo)