Returns the names of all files in the specified directory or folder
static int Files( std::vector<CString>& files, LPCTSTR directory_text = 0 ); |
A vector of strings which will be populated with the list of names.
Directory_text specifies which directories or folders to return filenames from.
Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.
See the Microsoft Excel on-line Help for full details about this function.
Header: xlfuncs.h