If openInBrowser is set to true, and the user chooses to open the file, the file will open in the browser window. If openInBrowser is set to false, and the user chooses to open the file, the file will open in Microsoft Excel. By default, the file will open in the browser window.
Note
not all browsers can embed an Excel file in the browser window
Exceptions
Exception
InvalidOperationException
InvalidOperationException
Save will throw this exception if it does not have a PowerPoint document handle (Save cannot be called before Open).