excel.exe still running in the background Programming Software Development by pbosek … ActiveWorkbook.SaveAs FileName:=file_name Set xlmodule = xlBook.VBProject.VBComponents.Import(ExcelMacro) For i = 0 To List2.ListCount - 1 LogFilePath = List2… i End If GetImportFiles = True End Function Private Sub CallMacro1() ExcelMacro = CurrentDir & "\" & "import_macro.bas"… Controlling Excel 2010 with Delphi 2010 using OfficePartner or COM Automation Programming Software Development by agrarian … VB Script in my Delphi app. VB Macro:[ICODE]Sub ExcelMacro() ' ' ExcelMacro Macro ' ' ' 1) Select All Cells and then select Format as… Re: excel.exe still running in the background Programming Software Development by techniner See you original post. I replied there. [code] Application.DisplayAlerts = False Application.Quit [/code] Re: Controlling Excel 2010 with Delphi 2010 using OfficePartner or COM Automation Programming Software Development by Wolfgan Put a file with an example of work. This module was written by me for their own needs. You can easily rasshiret it to their needs.