Hi,
I have an Oracle PL/SQL procedure that extracts data into an excel worksheet. I am wondering if there is anyway from the procedure to also set the macros of the excel document that is created?
For example, usually the macros are manually done:
Go to Tools, Macros – Macro. Select the “Automate” macro and click “run”.
However I am trying to automate the manual process. Any suggestions or direction?
Thanks,
DR
8 13932
Hi,
I have an Oracle PL/SQL procedure that extracts data into an excel worksheet. I am wondering if there is anyway from the procedure to also set the macros of the excel document that is created?
For example, usually the macros are manually done:
Go to Tools, Macros – Macro. Select the “Automate” macro and click “run”.
However I am trying to automate the manual process. Any suggestions or direction?
Thanks,
DR
hI
Can you please send me that pl/sql procedure that extracts data into an excel worksheet.
As i am working on a similar case
Email id: [ Removed ]
Thanks alot
Nitin Singh
Hi,
I have an Oracle PL/SQL procedure that extracts data into an excel worksheet. I am wondering if there is anyway from the procedure to also set the macros of the excel document that is created?
For example, usually the macros are manually done:
Go to Tools, Macros – Macro. Select the “Automate” macro and click “run”.
However I am trying to automate the manual process. Any suggestions or direction?
Thanks,
DR
Setting a macro would not be possible from PLSQL.
Could you please tell what is that macro going to do?
One suggestion would be to connect to oracle database from Excel using macro and fetch the data in to excel sheet.
You can't set macros form PL / SQL.
Hi, I have the same request. I am collecting data via PL/SQL procedure and downloading them in excel. I have a macro that runs a chart. I am trying to make the whole report automated. Any other workaround for the macro to run?
Thanks.
Hi, I have the same request. I am collecting data via PL/SQL procedure and downloading them in excel. I have a macro that runs a chart. I am trying to make the whole report automated. Any other workaround for the macro to run?
Thanks.
I hope you would have got the answer from the above posts that setting a macro using PLSQL is not possible.
You can rather connect to oracle DB from excel using macro and fetch the data and store them in the oracle work book.
hi...
i would like to know about the procedure that u used to extract data into excel.
Hi,
I have an Oracle PL/SQL procedure that extracts data into an excel worksheet. I am wondering if there is anyway from the procedure to also set the macros of the excel document that is created?
For example, usually the macros are manually done:
Go to Tools, Macros – Macro. Select the “Automate” macro and click “run”.
However I am trying to automate the manual process. Any suggestions or direction?
Thanks,
DR
Can some please put up the Stored proc to load data from a table into excel file?
you can "run" a macro using client-side client_ole2 code , use:
args:=client_ole2.CREATE_ARGLIST;
client_ole2.ADD_ARG( args, V_MACRO_NAME );
client_ole2.INVOKE( Application, 'RUN' ,ARGS );
client_ole2.destroy_arglist(args);
Sign in to post your reply or Sign up for a free account.
Similar topics
by: chris |
last post by:
I'm creating an excel document dynamically from scratch using Python
and the win32com module. All is well, but now I need to add a macro to
the...
|
by: MS |
last post by:
We have to provide a facility on the client machines to download the data
visible on a ASP page into an excel sheet. We are using WIN2k clients
...
|
by: OhMyGaw |
last post by:
Hello Excel/automation Gurus,
I am working on an application where I have to keep a centralized
database of all macros distributed to user and...
|
by: Brian Hanson |
last post by:
Hi,
I have an unusual problem that just showed its ugly head at a pretty
bad time. I have an asp.net (VB) app that takes data from an Excel...
|
by: Mark Ritchey |
last post by:
I don't know if I am sending this to the right place, but
I have looked everywhere and have not found anything. My
question is this.
I am...
|
by: Sreedhar Vankayala |
last post by:
Hi,
I joined a project where we need to import data from a excel file into
sql server via the asp.net.
After doing a long research found that...
|
by: chris.bunch |
last post by:
I have written code to open an excel workbook and edit 2 worksheets.
The code works great opening and editing a general workbook, but,
though it...
|
by: LacrosseB0ss |
last post by:
Quick question: is there a way to programmatically turn off the warning message for macros in Excel? (Macros can be harmful ... enable/disable)
...
|
by: Raghavender143 |
last post by:
Hello everyone
How can i extract all the data from a report to excel worksheet using a macro in access.
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function.
Here is my code.
...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
| |