Looping With Excel

Applies To: AutoMate 6, AutoMate 5
 

More Tutorials

Automate Complete Introduction 6/21/173445 views
The Automate Enterprise Ops Console Overview 5/17/172646 views
Getting Started With AutoMate 10 2/19/1511293 views
Getting Started With BPA Server 10 1/30/155559 views
How to Extract Information from Exchange 11/29/125992 views
How To AutoMate VMware 10/29/128945 views
How To AutoMate Amazon Web Services (AWS) 9/25/128018 views
How To AutoMate Email and SMS Notification 8/28/1212405 views
How To AutoMate PowerShell Scripts 7/31/1221927 views
How To AutoMate Web Services 7/5/128487 views
How To AutoMate Web Extraction 7/5/128317 views
Getting Started: BPA Server 9 2/24/129223 views
Getting Started With AutoMate 9 1/6/1222328 views
Overview of the BPA Server Management Console (SMC) 2/24/116872 views
Getting Started With BPA Server 8 2/16/117304 views
Getting Started With AutoMate 8 12/21/1017981 views
Interacting with a Drop-Down Menu 1/24/0820635 views
AutoMate BPA Server Agent Deployment 12/18/0716610 views
User Resource Center 10/16/0711441 views
Account Page 10/16/079787 views
AutoMate BPA Server 7 10/16/0726534 views
Looping and Sending Emails From a List 5/22/0714329 views
Looping With Excel 3/23/0723018 views
Terminal Emulation 2/20/0717539 views
Download File from Web 1/16/0719922 views
Web Account Login 11/20/0623071 views
SQL Query a CSV File 9/1/0630947 views
FTP Uploads by Files Last Modified Date 7/18/0617992 views
FTP Download by Date 6/1/0619665 views
The File Watcher and FTP Actions 3/14/0628960 views
AutoMate 6 Intro (Outdated, See "Getting Started With AutoMate 8") 3/13/0662297 views
 

Comments (6)

  1. 3/27/07 by Anonymous
    This tutorial has opened up some new ideas for me and shown me some smarter ways of doing things I currently do poorly. Thanks AutoMate! From an AussieMate! Sydney Australia
  2. 10/2/07 by Beth Blankenship
    It would be nice if the sample task was readily available to download.
  3. 10/3/07 by Marjo Martinez
    Beth, Your suggestion is an excellent idea, therefore, we will work on creating sample tasks that will coinside with each tutorial and add them to the URC as well as include them to future downloads of AutoMate. Thanks for the input. Marjo AutoMate Support Technician
  4. 12/31/07 by Ubaldo Rauso
    It very clear and simple Very good job
  5. 7/1/15 by Anonymous
    This is based on the version 6 of AutoMate however the version 10 is quite different. I was also not getting past number 11 when running the program
  6. 7/7/15 by Valentineo McGowan
    The below AML code was built in version 10.3.0.13. NOTE For the *.xls file used in step 6; you will have to build your own to match what was used in the example when the video first began. The remaining code is the same and has been tested.
    <AMVARIABLE NAME="theCompany" /> <AMVARIABLE NAME="theFirstName" /> <AMVARIABLE NAME="theLastName" /> <AMVARIABLE NAME="theRow" VALUE="2" /> <AMVARIABLE NAME="theColumn" VALUE="1" /> <AMEXCEL SESSION="ExcelSession1" WORKBOOK="C:\Users\vmcgowan\Desktop\excel.sample.xlsx" /> <AMEXCEL ACTIVITY="get_cell" SESSION="ExcelSession1" ACTION="cellbyposition" RESULTVARIABLE="theCompany" CELLROW="%theRow%" CELLCOLUMN="%theColumn%" /> <AMVARIABLE ACTIVITY="increment" RESULTVARIABLE="theColumn" /> <AMEXCEL ACTIVITY="get_cell" SESSION="ExcelSession1" ACTION="cellbyposition" RESULTVARIABLE="theFirstName" CELLROW="%theRow%" CELLCOLUMN="%theColumn%" /> <AMLOOP ACTIVITY="expression" CONDITION="until" EXPRESSION="%theCompany = &quot;&quot;%"> <AMVARIABLE ACTIVITY="increment" RESULTVARIABLE="theColumn" /> <AMEXCEL ACTIVITY="get_cell" SESSION="ExcelSession1" ACTION="cellbyposition" RESULTVARIABLE="theLastName" CELLROW="%theRow%" CELLCOLUMN="%theColumn%" /> <AMSHOWDIALOG>Company: %theCompany% First Name: %theFirstName% Last Name: %theLastName%</AMSHOWDIALOG> <AMVARIABLE ACTIVITY="increment" RESULTVARIABLE="theRow" /> <AMVARIABLE ACTIVITY="set" VARIABLENAME="theColumn" VALUE="1" /> <AMEXCEL ACTIVITY="get_cell" SESSION="ExcelSession1" ACTION="cellbyposition" RESULTVARIABLE="theCompany" CELLROW="%theRow%" CELLCOLUMN="%theColumn%" /> <AMVARIABLE ACTIVITY="increment" RESULTVARIABLE="theColumn" /> </AMLOOP> <AMEXCEL ACTIVITY="close_workbook" SESSION="ExcelSession1" SAVETYPE="do_not_save" />
Please sign in to your account or your comment will be forever stored under "anonymous".
Include Code Snippet

Search the URC

Subscribe to Version History via RSS
Subscribe to Version History via RSS
Version Watcher

11.0.6 changelog
11.0.6 changelog
other versions downloads

Contribute

Subscribe to Latest Resources via RSS
Subscribe to Latest Resources via RSS
Latest Resources

show filter options

Subscribe to Forum Posts via RSS
Subscribe to Forum Posts via RSS
Forum Posts