View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
John[_109_] John[_109_] is offline
external usenet poster
 
Posts: 11
Default application quit problem

I have a module that opens an itrnaet page and then is suppose to close
excel down without saving changes. The following code closes the workbook
but does not close the excel application, can anyone advise how I can get
excel to terminate ?

If uid < 0 Then
Set ie = CreateObject("Internetexplorer.Application")
ie.Visible = True
ie.navigate "inside.mysite.com\qbrowse\lizard\expenses.asp?uid =" &
uid

End If
Application.DisplayAlerts = False
Application.Quit

Thanks in anticipation

John