Share via


SpellingOptions.SuggestMainOnly Property 

When set to True, instructs Microsoft Excel to suggest words from only the main dictionary when using the spelling checker. False removes the limits of suggesting words from only the main dictionary when using the spelling checker.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Usage

Dim spellingOptions1 As SpellingOptions

Dim returnValue As Boolean
returnValue = spellingOptions1.SuggestMainOnly

Dim sampleValue As Boolean
spellingOptions1.SuggestMainOnly = sampleValue

Syntax

Property SuggestMainOnly() As Boolean
bool SuggestMainOnly {get; set;}
property Boolean SuggestMainOnly{
    Boolean get();
    Void set(Boolean);
}
public boolean get_SuggestMainOnly();
public void set_SuggestMainOnly(boolean);
function get SuggestMainOnly() : Boolean;
function set SuggestMainOnly(Boolean);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

SpellingOptions Interface
Microsoft.Office.Interop.Excel Namespace

Other Resources

SpellingOptions Members