lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


King, Mike wrote:
require"luacom"
excel = luacom.GetObject("Excel.Application")



I've no Office installed here so I can't test, but I presume that when your script ends, excel.exe process won't go away. I think you need to call Close or Quit or something like that.

require"luacom"
excel = luacom.GetObject("Excel.Application")

excel:Close() -- or excel:Quit()


Regards,
Ignacio Burgueño