Closing Excel Spreadsheet in an Internet explorer window using VBA

K

kelin

Hi

I have an excel spreadsheet that is being accessed over our company intranet. The excel document opens up in Internet Explorer. Does anybody know how to close the excel document using vba? I have tried the following and it has not worked

- Application.Qui

- ActiveWindow.Clos

- ActiveWorkbook.Clos

- Set appIE = CreateObject("InternetExplorer.Application"
appIE.Qui

Thanks
 
Top