Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-13-2011, 08:32 PM
Randall.Hodges@bms.com Randall.Hodges@bms.com is offline
Junior Member
 
Join Date: Jul 2011
Posts: 7
Default Excel Loop through rows not working

I am unable to figure out how to loop through all the rows on my spreadsheet to perform my actions over and over until the end of the sheet.

I have one excel spreadsheet with two columns. I want to read both columns on my first itteration, and use the first cell for a search of a web application, some screen actions to initiate a download, then both first cell and second cell variables to name my download, kick off an FTP to move this file to another location, then repeat for the next row.

I can make this work once, but nothing causes it to cycle through the spreadsheet. I have tried with a "continue" and without.

Obviously I am missing someing.

Help!
Attached Files
File Type: atmn Excel_Loop.atmn (17.8 KB, 2 views)
Reply With Quote
  #2 (permalink)  
Old 08-15-2011, 04:31 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello Randall.Hodges@bms.com,

We have prepared a sample task for you according to your requirement. Please download the attachment and save it in your computer.
You will have to save the "Sample.xls" in "C:/" and the "Sample_Excel.atmn" in "My Documents/Automation Anywhere/Automation Anywhere/My Tasks"

Please let us know in case you have any doubts.

Thanks & Regards
Attached Files
File Type: zip LOOP task.zip (4.8 KB, 5 views)
Reply With Quote
  #3 (permalink)  
Old 08-15-2011, 05:05 PM
Randall.Hodges@bms.com Randall.Hodges@bms.com is offline
Junior Member
 
Join Date: Jul 2011
Posts: 7
Default Figured it out, sorry didn't post before now.

My issue was understanding how the process works. You must know then end of the range of cells when capturing the data, it does not iterate through until it gets to the last cell. Once I put the furthest cell in my range, it works fine.

Example: A1 through B2000 will execute 2000 times.

Thanks,
Randy Hodges
Reply With Quote
  #4 (permalink)  
Old 08-16-2011, 04:53 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello Randall.Hodges@bms.com,

The attached task, according to your requirement, will perform the loop operation.

Please save the "Sample.xls" in "C:/" and the "loop sample.atmn" in "My Documents/Automation Anywhere/Automation Anywhere/My Tasks"

Thanks & Regards
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 03:32 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved