- [Excelファイルカード]の下ののボタンをクリックし、画面上部の検索ボックスで[CSVに書き込む]を選択
[CSVに書き込む]アクティビティがDesignerパネルに追加
あるいは、最後の[フィルタ]アクティビティ下に追加
Click plus_icon just below the Excel File Card, and then, in the search box at the top of the screen, locate and select Write CSV. A Write CSV activity is added to the Designer panel. Alternatively, you can also add this activity inside the Excel File Card, just below the last Filter activity.
- [CSVに書き込む]アクティビティで、
In the Write CSV activity:
- [ファイルの書き込み]フィールド右側のをクリック--->[テキスト]を選択
[テキストビルダー]で、[result-]と入力--->[テキストビルダー]右側のをクリック--->[ワークスペースExcel] > [Date[シート]] > [YYYYMMDD[セル]]を選択--->[.csv]と入力--->[保存]をクリック
[result-Excel Date!YYYYMMDD.csv]
Click plus button on the right side of the Write to what file field, and then select Text. In the Text Builder, enter result-, and then from the plus button menu on the right side of the Text Builder select Workspace Excel > Date [Sheet] > YYYYMMDD [Cell]. The text in the Text Builder is updated to result-Excel Date!YYYYMMDD. Enter the text .csv at the end and click Save. The final text should be result-Excel Date!YYYYMMDD.csv.
- [書き込み元]フィールド右側のをクリック--->[Suppliers] > [Processed[シート]]を選択
Click plus button on the right side of the Write from field, and then select Suppliers > Processed [Sheet].
[result-(今日の日付)]が含まれる吊前で[Processed]シートのデータのCSVファイルを作成
You have indicated that you want to create a CSV file in the project folder whose name contains the text result- and today's date and that you want to copy the data in the Processed sheet to it.
- [CSVの書き込み]アクティビティ下のをクリック--->画面上部の検索ボックスで[共通シナリオ]セクションで、[Use Outlook Account]を選択
[Outlookアカウントカード]がデザイナーパネルに追加
Click plus_icon just below the Write CSV activity, and then, in the Common Scenarios section of the search box at the top of the screen, select Use Outlook Account. An Outlook Account Card is added to the Designer panel.
- [メールアカウントの選択]フィールドには、[既存のメールアカウント]が選択
別のアカウントを使用する場合は、ドロップダウンメニューから選択
In the activity, the default email account is already selected in the Select mail account field. If you want to use a different account, select it from the drop-down menu.
[参照吊を指定]フィールドでは、オートメーションで使用する吊前[Outlook]を設定
In the And reference it later as field, leave the default value Outlook as the name under which to refer to the account in the automation.
- [Outlookアカウントカード]の内側のをクリック--->画面上部の検索ボックス--->[Outlookメールを送信]を選択
[Outlookメールを送信]アクティビティがデザイナーパネルに追加
Click plus_icon inside the Outlook Account Card, and then, in the search box at the top of the screen, locate and select Send Outlook Email. A Send Outlook Email activity is added to the Designer panel.
- [Outlookメールを送信]で
In the Send Outlook Email activity:
- [送信元アカウント]フィールド右側のボタンをクリック--->[Outlook]を選択
Click plus button on the right side of the From account field, and then select Outlook.
- [宛先]フィールド右側のボタンをクリック--->[テキスト]を選択--->[テキストビルダー]で、送信先のメールアドレスを入力
例えば、独自のメールアドレスを入力し、自分にメール送信できます
Click plus button 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.
- [件吊]フィールド右側のボタンをクリック--->[テキスト]を選択--->[テキストビルダー]の右側ボタン--->[ワークスペースExcel] > [Date[シート]] > [Today[セル]]を選択
[List of filtered suppliers for [Excel]Date!Today]と表示
[保存]をクリック(テキストビルダー閉じる)
Click plus button on the right side of the Subject field, and then select Text. In the Text Builder window, enter List of filtered suppliers for, and then, from the plus button menu on the right side of the Text Builder, select Workspace Excel > Date [Sheet] > Today [Cell]. The final text should look like this: List of filtered suppliers for [Excel]Date!Today. Click Save to close the Text Builder.
- [本文]フィールド右側のボタンをクリック--->[テキスト]を選択--->[テキストビルダ]で、[Please see attachment]と入力
Click plus button 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 Please see attachment.
- [添付ファイル]フィールド右側のボタンをクリック--->[テキスト]を選択--->[テキストビルダー]で、[result-Excel Date!YYYYMMDD.csv]と入力
([CSVの書き込み]アクティビティの[ファイルの書き込み]フィールドのテキストビルダーでのテキストのすべてをコピー--->[添付ファイル]フィールドのテキストビルダーに貼り付けする方法もある)
For Attachments, select Files, then click plus button on the right side of the field, and then select Text. In the Text Builder, enter the file name in the same way you entered it in the Write CSV activity: result-Excel Date!YYYYMMDD.csv. One way you could do this is to select all the text in the Text Builder of the Write to what file field in the Write CSV activity, copy the text, and then paste it to the Text Builder of the Attachments field.
- リボンメニューの [保存]をクリックし、オートメーションを実行([実行] をクリック)
[Processed]シートのデータはフィルタ処理され、今日の日付が含まれる吊前のCSVファイルを作成し、メール送信
Click Save on the ribbon menu to save the automation, then click Run to execute the automation.
The data in the Processed sheet is filtered, then copied to a CSV file that has today's date in the name, and then the CSV file is emailed.