Link to home
Start Free TrialLog in
Avatar of paulo_psa
paulo_psaFlag for Brazil

asked on

Load and Run a Excel Macro

Hi,
I want to load a external text file into a Excel workbook from Delphi then execute this macro also from Delphi.
Is it possible??

regards
Paulo
ASKER CERTIFIED SOLUTION
Avatar of Bongos
Bongos

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of paulo_psa

ASKER

Hi Bongos,

I forgot to say that I'm using OleVariant instead of TExcelApplication.
Anyway I liked your tip about quering among the VBCompont itens to find the module. I got it, but I can't still trigger the macro. If you know how please let me know and I'll open a new question.