Hier der Code:
C
#include <Excel.au3>
#include <MsgBoxConstants.au3>
#include <IE.AU3>
;Excel aktivieren
While True
Global $oExcel = _Excel_Open()
Global $oWorkbook = _Excel_BookOpen($oExcel, "C:\.....mein Speicherpfad........\Excel-Datei.xlsm")
WinSetState("Excel-Datei.xlsm - Excel", "", @SW_HIDE)
Sleep(35000)
_Excel_Close($oExcel)
Sleep(5000)
WEnd
Alles anzeigen