XlAutoFillType Enumeration
Specifies how the target range is to be filled, based on the contents of the source range.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Public Enumeration XlAutoFillType
'Usage
Dim instance As XlAutoFillType
public enum XlAutoFillType
Members
Member name | Description | |
---|---|---|
xlFillCopy | Copy the values and formats from the source range to the target range, repeating if necessary. | |
xlFillDays | Extend the names of the days of the week in the source range into the target range. Formats are copied from the source range to the target range, repeating if necessary. | |
xlFillDefault | Excel determines the values and formats used to fill the target range. | |
xlFillFormats | Copy only the formats from the source range to the target range, repeating if necessary. | |
xlFillMonths | Extend the names of the months in the source range into the target range. Formats are copied from the source range to the target range, repeating if necessary. | |
xlFillSeries | Extend the values in the source range into the target range as a series (e.g., '1, 2' is extended as '3, 4, 5'). Formats are copied from the source range to the target range, repeating if necessary. | |
xlFillValues | Copy only the values from the source range to the target range, repeating if necessary. | |
xlFillWeekdays | Extend the names of the days of the workweek in the source range into the target range. Formats are copied from the source range to the target range, repeating if necessary. | |
xlFillYears | Extend the years in the source range into the target range. Formats are copied from the source range to the target range, repeating if necessary. | |
xlGrowthTrend | Extend the numeric values from the source range into the target range, assuming that the relationships between the numbers in the source range are multiplicative (e.g., '1, 2,' is extended as '4, 8, 16' assuming that each number is a result of multiplying the previous number by some value). Formats are copied from the source range to the target range, repeating if necessary. | |
xlLinearTrend | Extend the numeric values from the source range into the target range, assuming that the relationships between the numbers is additive (e.g., '1, 2,' is extended as '3, 4, 5' assuming that each number is a result of adding some value to the previous number). Formats are copied from the source range to the target range, repeating if necessary. |