Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hallo
Mit dem folgenden Befehl öffne ich eine Excel-Datei:
set WshShell = CreateObject("WScript.Shell")WshShell.Run "Excel.exe ""\\" & ActiveDocument.Variables("Server").GetContent.String & "myExcelFile""" ,1, false
Gibt es eine Mögllichkeit, zuerst zu prüfen, ob bereits eine Excel-Instanz geöffnet ist und das File dann darin zu öffnen? Da ich im Excel-Makro eine weitere Excel-Datei anspreche, die eventuell schon geöffnet ist, wäre das für mich sehr hilfreich.
Besten Dank im Voraus!