![]() ![]() The returned name may include a path specification. This method returns the selected file name or the name entered by the user. If FileFilter is omitted, this argument defaults to "All Files (*.*),*.*". To use multiple MS-DOS wildcard expressions for a single file filter type, separate the wildcard expressions with semicolons for example: "Visual Basic Files (*.bas *.txt),*.bas *.txt". For example, the following string specifies two file filters-text and addin: Each separate pair is listed in the Files of type drop-down list box. This string passed in the FileFilter argument consists of pairs of file filter strings followed by the MS-DOS wildcard file filter specification, with each part and each pair separated by commas. False to allow only one file name to be selected. ![]() True to allow multiple file names to be selected. If this argument is omitted, the title is "Open." If this argument is omitted or greater than the number of filters present, the first file filter is used. Specifies the index numbers of the default file filtering criteria, from 1 to the number of filters specified in FileFilter. Parameters NameĪ string specifying file filtering criteria. ![]() GetOpenFilename ( FileFilter, FilterIndex, Title, ButtonText, MultiSelect)Įxpression A variable that represents an Application object. Displays the standard Open dialog box and gets a file name from the user without actually opening any files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |