Expand Minimize

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)

public enum XlAutoFillType

Member nameDescription
xlFillCopyCopy the values and formats from the source range to the target range, repeating if necessary.
xlFillDaysExtend 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.
xlFillDefaultExcel determines the values and formats used to fill the target range.
xlFillFormatsCopy only the formats from the source range to the target range, repeating if necessary.
xlFillMonthsExtend 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.
xlFillSeriesExtend 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.
xlFillValuesCopy only the values from the source range to the target range, repeating if necessary.
xlFillWeekdaysExtend 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.
xlFillYearsExtend the years in the source range into the target range. Formats are copied from the source range to the target range, repeating if necessary.
xlGrowthTrendExtend 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.
xlLinearTrendExtend 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.

Community Additions

ADD
Show:
© 2014 Microsoft