Verwendung der action „Öffnen“ für Excel basic
Als PDF herunterladen
- Zuletzt aktualisiert2023/07/07
Verwendung der action „Öffnen“ für Excel basic
Verwenden Sie die action Öffnen, um eine Microsoft Excel-Tabelle im Nur-Lese-Modus oder im Schreib-Lese-Modus zu öffnen, ein Passwort zum Öffnen der Tabelle zu verwenden usw.
Prozedur
So öffnen Sie eine Microsoft Excel-Tabelle:
- Doppelklicken oder ziehen Sie die action Öffnen aus dem Excel Basic-package in der Palette Aktionen.
-
Wählen Sie den Pfad aus, von dem aus die Microsoft Excel-Tabelle geöffnet werden soll:
Anmerkung: Die maximal zulässige Datenmenge in einer Excel-Datei beträgt jetzt über 2,1 Milliarden Einträge. Dadurch können Sie eine größere Excel-Datei einbinden und gleichzeitig das Excel basic-package verwenden, um wiederkehrende Aufgaben in XLSX-Arbeitsmappen zu automatisieren.
-
Control Room-Datei: Ermöglicht das Öffnen einer Datei aus dem Control Room.Anmerkung: Wenn Sie eine Excel-Datei vom Control Room öffnen und Änderungen in der Datei vornehmen, wird die aktualisierte Datei nicht im Control Room gespeichert. Diese action wird nur für Excel-Dateien unterstützt, die vom Desktop aus geöffnet werden.
- Desktop-Datei: Ermöglicht es Ihnen, eine Datei vom Gerät aus zu öffnen. In dieses Feld kann auch der Dateipfad als Zeichenfolgenvariable oder globaler Wert eingegeben werden.
- Variable: Ermöglicht das Öffnen einer Datei durch Angeben einer Dateivariablen.
-
Control Room-Datei: Ermöglicht das Öffnen einer Datei aus dem Control Room.
- Aktivieren Sie das Kontrollkästchen Blatt enthält eine Kopfzeile, wenn das Blatt eine Kopfzeile enthält.
- Wählen Sie die Option Spezifischer Blattname aus und geben Sie den Namen des Blatts an, das beim Öffnen der Microsoft Excel-Tabelle aktiviert werden soll.
- Wählen Sie Schreibschutzmodus oder Lese- und Schreibmodus aus, um die Microsoft Excel-Tabelle im schreibgeschützten bzw. im Bearbeitungsmodus zu öffnen.
- Aktivieren Sie das Kontrollkästchen Passwort erforderlich, wenn zum Öffnen der Microsoft Excel-Tabelle ein Passwort erforderlich ist.
-
Select any of the following tabs to create an Excel session:
- Local session: Specify a session name that can be used only in the current bot.
-
Global session: Specify a session name that can
be used across multiple bots, such as parent bots, child bots, and other child bots of the parent bots
.
You can also use the Global session option to loop through each row in an Excel advanced worksheet.Anmerkung: You can open an Excel worksheet by using the Global session option and use it across multiple bots without having to share the session by using the Set session variable action.You can also close the session from the child bot when you are using the Global session option and sharing the session across child bots.Wichtig: If you close the session from the child bot and run the parent bot, then in the parent bot, the actions that come after the child bot are not run, and the bot fails with an error because the session has already been closed from the child bot.
- Variable: Specify a session variable that can be used to share that session with other child bots.
Anmerkung: When you use more than one workbook to automate an operation, you must use different session names for each workbook. If you want to use the same session name to automate all the workbooks, you must first close the session of one workbook before using the same session name for another workbook. - Geben Sie im Feld Sitzungsname den Namen für die Sitzung ein.
- Klicken Sie auf Speichern.