Hi Everyone, I am trying to import an excel macro into a workbook using autoit - I DID originally have this working however accidently deleted the script Cant figure out how to make it work   local $sFilePath1 = ("calypso.au.flitech.netsqlreptsp_wntvalid.xls") Local $oExcel = _ExcelBookOpen($sFilePath1) Sleep(1000) $oExcel.VBE.ActiveVBProject.VBComponents.Import("fbnecl3DocumentsLoad SupportTomAutomationTurning Codes OfflineOffline.bas") sleep(1000) $oExcel.run("Offline.bas")