DEFAULTEXT( ) Function

See Also

Returns a file name with a new extension if one doesn't already exist.

Syntax

DEFAULTEXT(cFileName, cDefault)

Returns

Character

Arguments

cFileName Specifies the filename (with or without a path or extension) to be returned.

cDefault Specifies the default extension without a period.