Link to home
Create AccountLog 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
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
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.