+ Reply to Thread
Results 1 to 1 of 1

Executing Multiple queries in oracle using Macro

  1. #1
    Forum Contributor
    Join Date
    12-17-2014
    Location
    Charlotte
    MS-Off Ver
    2013
    Posts
    137

    Executing Multiple queries in oracle using Macro

    Team,

    Can you please send me the steps for the below requirement. I use Oracle as Backend

    I get zip codes in an Excel file (only one column)

    I wanted to automate the code as below in a new Excel File

    1) Create a Form with a Button "Lets Say Run macro'

    2) I will copy the Zip codes in a sheet of the Excel file (Step 1)

    3) Once the User Click on Run Macro Button the below things need to execute automatically

    a) First it should to create a table Kiran_ZIP_CODES
    b) Import the data in Sheet to Kiran_ZIP_CODES
    c) Once the KIRAN_ZIP_CODES table is created, then this table need to join with some other table (For Example - Employee)
    d) The New Table now is KIRAN_ZIP_CODES_Employee
    e) Once the KIRAN_ZIP_CODES_EMPLOYEE is created, then this table need to join ADDRESS table
    f) The Final results need to export to separate Excel File.

    4) If the user Runs the Macro second time, first it should drop the tables and follow from Step 3.

    Thanks!
    Kiran
    Last edited by Kandavalli.Kiran; 06-05-2019 at 03:19 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Execute multiple SQL queries on a specific oracle database and log results in excel
    By harsh2209 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-08-2012, 01:38 PM
  2. Executing two SQL Queries
    By kumark in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2012, 02:33 AM
  3. Executing queries in Access from Excel
    By Felipe99 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-22-2010, 04:33 AM
  4. Excel Macro not executing from Oracle Forms
    By bavinash05 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-02-2007, 03:35 AM
  5. Executing a stored procedure in ORACLE from an EXCEL Macro thru ODBC.
    By ldevrries in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2007, 04:59 PM
  6. [SOLVED] Executing complex Oracle queries in Excel using PL/SQL
    By Mark Olsen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-03-2006, 08:16 AM
  7. [SOLVED] Executing multiple queries through a macro
    By Sharon in forum Excel General
    Replies: 0
    Last Post: 03-31-2005, 09:06 PM
  8. Running Queries to Oracle from Excel 2000
    By Kevin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2005, 05:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1