...
Exception | ||||
---|---|---|---|---|
| ||||
If there is a problem creating, opening, or writing to the file specified, or reading from the workbook object. |
Exception | ||||
---|---|---|---|---|
| ||||
If the extension of the filename given is invalid for the given workbook. For example, a file created with Excel 2007, that has macros must be saved with the .xlsm extension |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|