Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 945 Bytes

Word.Trendline.Type.md

File metadata and controls

45 lines (28 loc) · 945 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Trendline.Type property (Word)
vbawd10.chm26345580
vbawd10.chm26345580
Word.Trendline.Type
1f461dcc-242e-09a5-bc63-36f1a56af82d
06/08/2017
medium

Trendline.Type property (Word)

Returns or sets the trendline type. Read/write XlTrendlineType.

Syntax

expression.Type

expression A variable that represents a 'Trendline' object.

Example

The following example changes the trendline type for the first series of the first chart in the active document. If the series has no trendline, this example fails.

With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 .Chart.SeriesCollection(1).Trendlines(1).Type = xlMovingAvg 
 End If 
End With

See also

Trendline Object

[!includeSupport and feedback]