Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
tzhtrbe1
Contributor
Contributor

Bestehende Excel Instanz ansprechen

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!

Labels (1)
0 Replies