In Microsoft Excel, you can use the
Workbooks.Open command within a Visual Basic for Applications macro to open files. Usually, the command looks similar to the following:
Workbooks.Open FileName:="Myfile.xls"
If you have a file whose name contains no extension, you can usually open
it with the
Workbooks.Open command. For example, the command would look like this:
Workbooks.Open FileName:="Noext"
This command works correctly and opens the file "Noext", unless a file
whose name is identical but includes a recognized file extension exists in
the same folder. The following extensions are recognized by Microsoft Excel
2000:
xls txt dbf wk3 wk1 wq1 slk csv dif
If such a file exists in the same folder as the file without an
extension, that file opens instead.