VBA GetExtensionName

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

The FileSystemObject VBA GetExtensionName function returns a string with the file extension of a given file path. Will return a null string (vbNullString) if no extension is found or the path does not match a file.

VBA GetExtensionName Syntax

path
The path for which the file extension is supposed to be specified.

VBA GetExtensionName Examples

Simply the best place to learn Excel VBA