VBA GetFile

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

The FileSystemObject VBA GetFile function will return a File object on which you can run several methods (Copy, Delete, Move, OpenAsTextStream) and obtain file properties (e.g. Date Created, Size, Type etc. see more below).

VBA GetFile Syntax

The path to the file for which a File object is to be returned.

VBA GetFile Examples

Simply the best place to learn Excel VBA