Automation SoftwareAutomation Anywhere
  Home > Product > Solutions > Excel Automation > T82  

T82 - Transfer data from Access to Excel using Excel Integration

Task Description

Transfers product data from Access to Excel using Excel Integration.

Test File T82.atmn

Note: Save the .atmn file in My Documents -> Automation Anywhere -> Automation Anywhere -> My Tasks

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 Employee. When the query is executed, it will return all the data of the Employee table.
Connect to Database
Screenshot 1

Open Spreadsheet
Screenshot 2

Task Editor
Screenshot 3

Data Transfer
Screenshot 4
2 Open Spreadsheet

  • From Application Category->Excel, Select 'Open Spreadsheet' option.
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
  • After the task runs the Excel spreadsheet will contain the employee data.
 
When you run this task, it reads the values from a database and inserts them one by one into the Excel spreadsheet.
Buy Now Free Trial

Next Steps
Compare versions Compare versions
Watch a flash demo Watch a flash demo
Contact me Contact me
Ask the Expert Ask the Expert
Request live demo Request live demo

Call 1-888-484-3535

Our Customers
Automation Anywhere Customers
Customer list | Case Studies

Wow! This program is fantastic. I was given the task to figure out how to get a list of over 1000 contacts off of a website and into Excel. I was trying to write some kind of macro for days through Excel's VB extension and was making no progress. So I went online and found Automation Anywhere, it took me only minutes to write a macro to copy the addresses. I owe Tethys Solutions hours of my life that I was prepared to spend copying and pasting. Thank you so much Tethys"
- Ben Kinney, Monterey media

Read Customer Testimonies >>
  Products     Download     Purchase     Services     Support     Customers     Company     Sitemap     Trademark FacebookTwitterAutomation Anywhere Blog © Automation Anywhere, Inc. 2012 Privacy Policy
Automation Anywhere Call: 1-888-484-3535 x1   

Automation Software - Free Trial Automation Software - View Demo