- Erste Schritte
- Tutorials
- Automationsprojekte
- Erstellen von Automatisierungen
- Grundlagen der Automatisierung
- Objekt-Repository
- Beste Praktiken für die Automatisierung (Automation Best Practices)
- Tutorial: Erstellen einer Pivot-Tabelle
- Tutorial: Durchlaufen von Zeilen in einer Tabelle
- Tutorial: Vergleichen von Excel-Dateien und Senden von Abstimmungsfehlern per E-Mail
- Tutorial: Extrahieren von Daten aus automatisierten E-Mails und Verschieben der Daten in eine Desktopanwendung
- Tutorial: Filtern von Daten in Excel
- Tutorial: Formatieren von Zellen
- Tutorial: Hinzufügen von Informationen über die Dateien in einem Ordner zu einer Excel-Datei
- Tutorial: Hinzufügen eigener Formeln zum Projektnotizbuch
- Tutorial: Kopieren von CSV in Excel und Senden der Datei per E-Mail
- Automatisieren von PowerPoint
- Datenautomatisierung
- Allgemeine Aktivitäten
- Automatisierung mit Google Workspace
- OneDrive- und SharePoint-Automatisierung
- Fehlersuche und ‑behebung
StudioX-Benutzerhandbuch
In diesem Tutorial kopieren wir die Daten aus einer CSV-Datei in eine vorhandene Excel-Datei, dann fügen wir die Excel-Datei an eine E-Mail an und senden die E-Mail in Outlook.
Wir erstellen ein Projekt und beginnen mit dem Hinzufügen einer Aktivität Excel-Datei verwenden , um die Excel-Datei anzugeben, in die die Daten kopiert werden sollen. Innerhalb dieser Aktivität fügen wir eine Aktivität vom Typ CSV lesen ein, um anzugeben, aus welcher CSV-Datei und an welche Stelle in der Excel-Datei kopiert werden soll. Dann geben wir mit einer Aktivität vom Typ Desktop-Outlook-Konto verwenden das zu verwendende Konto an. In ihr fügen wir eine Aktivität vom Typ E-Mail senden , um die E-Mail zu senden.
- Richten Sie das Projekt ein und erhalten Sie die erforderlichen Dateien.
- Erstellen Sie ein neues leeres Projekt mit den Standardeinstellungen.
- Download and extract the archive with the automation project in this example using the button at the bottom of this page, then copy the files A.csv and B.xlsx to your project folder.
- Fügen Sie die Excel-Datei zum Projekt hinzu.
- Click Add Activity
in the Designer panel, and then find the Use Excel File activity in the search box at the top of the screen and select it. A Use Excel File activity is added to the Designer panel. - In der Aktivität:
-
Click Browse
next to the Excel file field, and then browse to and select the file B.xlsx -
Geben Sie im Feld Referenzieren als
ExcelBein.Sie haben angegeben, dass Sie mit der Datei B.xlsx arbeiten werden, die in Ihrer Automatisierung als „ExcelB“ bekannt ist.
-
- Click Add Activity
- Fügen Sie eine Aktivität hinzu, um die Daten aus der CSV-Datei in die Excel-Datei zu kopieren.
- Click Add Activity
inside the Use Excel File activity, and then find the Read CSV activity in the search box at the top of the screen and select it. The activity is added inside the Use Excel File activity. - In the Read CSV activity:
-
Click Browse
next to the Read from file field, and then browse to and select the file A.csv. -
Click Plus
on the right side of the Output to field, and then select ExcelB > Indicate in Excel. The spreadsheet is opened in Excel. Because there is already data in the file and we want to keep it, select the first cell in the first empty row (cell A7), and then click Confirm. The field is updated with your selection [ExcelB] Sheet1!A7.Sie haben angegeben, dass Sie die Daten aus der CSV-Datei „A.csv“ in die Datei „ExcelB“ in „Sheet1“ kopieren möchten, beginnend mit der Zelle A7.
-
- Click Add Activity
- Fügen Sie das Outlook-Konto zum Projekt hinzu, und senden Sie die E-Mail.
-
Wählen Sie im Aktivitätenbereich die Registerkarte E-Mail aus, und ziehen Sie die Aktivität Outlook-Desktop-App verwenden (Use Desktop Outlook App) und legen Sie sie unter der Aktivität „Excel-Datei verwenden“ (Use Excel File) ab. Dem Entwurfsbereich wird eine „Outlook-Desktop-App verwenden“-Aktivität hinzugefügt.
-
In der Aktivität ist das Standard-E-Mail-Konto bereits im Feld Konto ausgewählt. Wenn Sie ein anderes Konto verwenden möchten, wählen Sie es im Dropdown-Menü aus.
Lassen Sie im Feld Referenzieren als den Standardwert
Outlookals den Namen stehen, mit dem in der Automatisierung auf das Konto verwiesen werden soll. -
Ziehen Sie die Aktivität E-Mail senden (Send Email) aus dem Aktivitätenbereich, und legen Sie sie in der Aktivität „Outlook-Desktop-App verwenden“ (Use Desktop Outlook App) ab.
-
In der Aktivität „E-Mail senden“ (Send Email):
-
Click Plus
on the right side of the Account field, and then select Outlook. -
Click Plus
on the right side of the To field, and then select Text. In the Text Builder window, enter an email address where to send the email. For example, you can enter your own email address to send the email to yourself. If you leave the Save as draft option selected, the automation does not send the email, it instead saves the email to the Outlook Drafts folder. -
Click Plus
on the right side of the Subject field, and then select Text. In the Text Builder window, enter a subject for the email, for example Updated Excel File. -
Click Plus
on the right side of the Body field, and then select Text. In the Text Builder window, enter text for the body of the email, for example See attachment. -
For Attachments, select Files, then click Browse
next to the field, and then browse to and select the file B.xlsx.
-
-
Klicken Sie im StudioX-Menüband auf Speichern , um die Automatisierung zu speichern, und klicken Sie dann auf Ausführen , um die Automatisierung auszuführen. Die Daten aus A.csv werden in B.xlsx kopiert und dann an eine E-Mail-Nachricht angehängt und mit den in der Aktivität „E-Mail senden“ konfigurierten Details gesendet . Beispiel herunterladen
-