Returns the names of the specified open Microsoft Excel windows
static int Windows( std::vector<CString>& windows, short int type_num = 1, LPCTSTR match_text = 0 );
A vector of strings which will be populated with the list of names.
Type_num is a number that specifies which types of workbooks are returned.
Match_text specifies the windows whose names you want returned and can include wildcard characters.
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.