Research.FavoriteService property (Word)

Returns or sets a String that specifies the favorite research service.

Syntax

expression. FavoriteService

expression An expression that returns a 'Research' object.

Remarks

The String that is set or returned for this property specifies the GUID of the favorite research service.

Setting this property has the same effect as choosing a favorite research service through the Research Options dialog in Word.

Note

The GUIDs for all installed research services can be located in the HKCU\Software\Microsoft\Office\14.0\Common\Research\Sources registry key.

Example

The following code example changes the favorite research service to "Encarta Dictionary: English (North America)".

Dim objResearch As Research 
 
Sub MyFunction() 
 
Set objResearch = Research 
 
'Set the favorite service 
objResearch.FavoriteService = "FEF89077-4F4D-4803-A8BF-228083F70EAA" 
 
End Sub

See also

Research Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.