Call Toll Free: 1-888-484-3535    

  Automation Anywhere - The Automation Software

Sample Tasks -> T82 - Transfer data from Access to Excel using Excel Integration

Task Description: Transfers product data from Access to Excel using Excel Integration.

Solution
1. Connect to database
  • From Application Category->Database, Select 'Connect' option. For our example we are using MS Access as the database, but other databases like Oracle, SQL Server, My SQL, MS SQL, etc. may also be used.
  • Select SQL query option and specify the query. e.g. select * from Products. When the query is executed, it will return all the data of the product table. Screenshot 1
2. Open Spreadsheet
  • From Application Category->Excel, Select 'Open Spreadsheet' option. Screenshot 2
3. Transfer Data
  • Insert the commands to paste the data from the database into the Excel spreadsheet.
  •  The commands for pasting data into Excel are:
     
    Excel : Go to beginning of the row of the active cell
    Excel : Set value of Active Cell with "$Dataset Column(1)$"
    Excel : Go to one cell right of active cell
     
  • Repeat above commands for each column of the access database.
  • Insert a loop for each row of the database Screenshot 3
  • After the task runs the Excel spreadsheet will contain the product data Screenshot 4
When you run this task, it reads the values from a database and inserts them one by one into the Excel spreadsheet.

Screenshot 1:

Screenshot 2:

Screenshot 3:

Screenshot 4:

E-Mail: Enter your email address to receive information about new products & offers from Tethys Solutions.


 PRODUCTS

 Automation Anywhere
   Standard & Premier
   Enterprise
 Workspace Macro Pro
 Workspace Macro
 Launch-n-Go
 Free Downloads
 Compare Products
 

 SOLUTIONS FOR

 Home & Home Office
 Business & IT
 Partners
 Developers
 

 SERVICES

 Ask The Expert
 Consulting Service
 

 PURCHASE

 BUY NOW
 Pricing
 Upgrades
 Our Guarantee

 SUPPORT

 FAQ & Examples
 Have a Question?
 Open A Support Case
 Forums
 

 QUICK LINKS

 Productivity Essentials
 Pre-defined Templates
 

 GENERAL

 Tell A Friend, Win a CD
 Affiliates
 Articles: Macro &
 Automation

 Get RSS Feeds

 Press & News
 Contact Us
Home |Site Map |Privacy Policy |About Us |Contact Us

Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved. Trademarks