XlTimeUnit Enumeration (Office)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Indicates units of time measurement.

Name

Value

Description

xlDays

0

Specifies Day units.

xlMonths

1

Specifies Month units.

xlYears

2

Specifies Year units.

Show: