Professional Documents
Culture Documents
1) If (Condition)
Execute commands/actions only when condition is true
End If
2) If (Condition 1)
Execute commands/actions only when condition is true
Else if(Condition 2)
Execute other commands/actions when Condition 2 is true
Else if(Condition 3)
Execute other commands/actions when Condition 3 is true
Else
Execute commands/actions when condition 1,2 and 3 are false
End If
• Variable Command
• This command, though it looks simple, is perhaps the most
powerful conditional command. Use this command to
perform hundreds of checks..
• The Excel command is one of the most powerful commands provided by Automation Anywhere. Microsoft Excel is one of
the most highly used applications in the world today.
• Many Excel automation scenarios have been implemented by companies worldwide. Some common scenarios include:
– Copying data from one Excel spreadsheet to another.
– Extracting data from an application to an Excel spreadsheet.
– Extracting data from a website to an Excel spreadsheet.
– Moving data from an Excel spreadsheet to another application.
– Transfer data from Microsoft Access to Excel.
– Transfer Excel data to a website form.
• Sub-Commands
• The Excel command provides the following sub-commands:
– Open Spreadsheet
– Close Spreadsheet
– Activate Sheet
– Get Cells
– Set Cell
– Go To Cell
– Run Excel Macro
– Delete Cells
– Save Spreadsheet
– Find/Replace
Always make sure to close the spreadsheet after its not required.
If you don’t want to save changes then check the “Do not save
changes” box.
• Go to Cell Command
• Use this command to move to a specific cell. The
movement options include:
– Move one cell to the left or to the right of the active cell
– Move one cell above or below the active cell
– Move to the beginning or end of a row or column within
a spreadsheet that was previously opened using the
Open Spreadsheet command