Connecting Tech Pros Worldwide Forums | Help | Site Map

Using PL/SQL code in Excel Macro

Newbie
 
Join Date: Aug 2009
Posts: 1
#1: Aug 7 '09
Dear All,

Can some one please tell me if i can execute a PL/SQL code with in the Microsoft excel macro. If so one example post would greatly be appreciated.

I have had success in writing the SQL in the macros by establiishing the ODBC connection. The output successfully generated and displayed on the destined sheet of the excel.

Now because of the complexity of the requirement, i had to go for the PL SQL.

Thanks.

amitpatel66's Avatar
Moderator
 
Join Date: Mar 2007
Location: Hyderabad, India
Posts: 2,192
#2: Aug 7 '09

re: Using PL/SQL code in Excel Macro


Logic would be to Create a PLSQL procedure in oracle database. Try connecting to Oracle database from Excel macro using ODBC connection and invoke that procedure and grab the results.
Reply