Action group: Office
Action saves the document under a different name
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for ods/xlsx document | Robin.OpenSheetD oc | Yes | |
Folder | Path to the folder where the document will be saved. If the field remains empty, the file is saved in the same folder where the original file was opened. You can enter it manually or select the 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 empty, the file is saved with the same name that the document had when it was opened. The extension can be left blank. If the extension is specified, it must match the extension of the source file | Robin.String | No | |
Overwrite | Boolean variable, optional parameter. Defaults to false. If True and a file with this name already exists in the folder, the existing file will be overwritten. | Robin.Boolean | true | No |
Results | ||||
Path to file | The full path to the saved file. | Robin.FilePath |
None.
There is a file Book1.xlsx on the desktop, it is necessary to execute the formula A1+A2 (result in cell A3), save the document in the folder "example" and close the document.
Use the actions "Open", "Apply formula to cell", "Save as", "Close".
Launch the robot using the "Start" button in the top panel.
The program robot completed successfully.
The formula is executed in cell A3.
The file is saved and closed.