Re: Application.Quit (NT) (Error Generated)
Thanks have tried code but get following error message
Compile error:
Wrong number of arguments or invalid property assignment
Any ideas?
Re: Application.Quit (NT) (Error Generated)
This worked for me ??
Sub CloseExcel()
Application.Quit
End Sub
Ivan
I think you may have put in the (NT) ??!!
The (NT) stands for No text msg
Re: Application.Quit (NT) (Error Generated)
Thanks Ivan,
I tried it with and without the (NT). Although the macro doesn't produce an error, Excel remains open. It doesn't make sense but that's life
Re: Application.Quit (NT) (Error Generated)
Have taken out the previous line from my macro "ActiveWorkbook.Close" and everything now works. It doesn't appear to want to close down when there are no workbooks open. This worked for me ??