AutoTextEntries.AppendToSpike Method 

Deletes the specified range and adds the contents of the range to the Spike (a built-in AutoText entry).

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim Range As Range
Dim returnValue As AutoTextEntry
Dim autoTextEntries1 As AutoTextEntries
returnValue = autoTextEntries1.AppendToSpike(Range)

Syntax

Function AppendToSpike( _
    <InAttribute()> ByVal Range As Range _
) As AutoTextEntry
AutoTextEntry AppendToSpike(
    [In] Range Range
);
public: AutoTextEntry^ AppendToSpike(
    Range^ Range
);
public AutoTextEntry AppendToSpike(
    /*in*/Range Range
);
function AppendToSpike(
     Range : Range
) : AutoTextEntry;

Parameters

  • Range
    The range that's deleted and appended to the Spike.

Remarks

The AppendToSpike method is only valid for the AutoTextEntries collection in the Normal template.

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

AutoTextEntries Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

AutoTextEntries Members