Save Version 18 (Net)
Action group: Excel
Description
Saves an Excel document.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Context | Action context for working with an Excel document | Robin.Excel | Excel context | Yes |
Folder | The path to the folder where the document will be saved. If the field is left blank, then the file is saved in the same folder in which the original file was opened. You can enter it manually, or select a folder in the «Select folder» modal window using the «three dots» button. | Robin.FolderPath | C:\doc\img | No |
File name | The name of the new document to be created. If this field is left blank, then the file is saved with the same name that the document had when it was opened. | Robin.String | No | |
Format | Format of document to save. If this field is empty, the file will be saved in the format the document had when it was opened. | Robin.String | No | |
Results | ||||
Path to file | Full path to the saved file. | Robin.FilePath |
Special conditions of use
None.
Example of use
Task
There is an Excel document "Test.xlsx".
You should save the file in its original format after making changes to the page (e.g., applying a filter).
Solution
- For any actions with a specific Excel document, you should first open the document, create its unique identifier (Context), so that further actions can be applied to a specific document. Open the document "Test.xlsx".
- Set filters.
- Save the Excel document.
Implementation
- Specify the parameters of the "Open" action.
- Set the parameters of the "Apply auto-filter" action.
- Set the parameters of the "Save" action.
- Launch the robot using the "Start" button in the top panel.
Result
The robot completed without errors. The file contains a table with filtered records.
Обзор
Инструменты контента